diff options
author | Fan Zhang | 2015-02-12 18:02:15 +0100 |
---|---|---|
committer | Christian Borntraeger | 2015-02-13 16:14:09 +0100 |
commit | e91e972ccfbaeba1d1416202ad1b667810a33e1f (patch) | |
tree | 7c4b11e92edf909d738c5824b6b336829e42f8ec /hw/s390x/ipl.h | |
parent | s390x/ipl: support diagnose 308 subcodes 5 and 6 (diff) | |
download | qemu-e91e972ccfbaeba1d1416202ad1b667810a33e1f.tar.gz qemu-e91e972ccfbaeba1d1416202ad1b667810a33e1f.tar.xz qemu-e91e972ccfbaeba1d1416202ad1b667810a33e1f.zip |
s390x/ipl: drop reipl parameters on resets
Whenever a reboot initiated by the guest is done, the reipl parameters should
remain valid. The disk configured by the guest is to be used for
ipl'ing. External reboot/reset request (e.g. via virsh reset guest) should
completely reset the guest to the initial state, and therefore also reset the
reipl parameters, resulting in an ipl behaviour of the initially configured
guest. This could be an external kernel or a disk.
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Fan Zhang <zhangfan@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'hw/s390x/ipl.h')
-rw-r--r-- | hw/s390x/ipl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/ipl.h b/hw/s390x/ipl.h index f1d082ff45..70497bc65f 100644 --- a/hw/s390x/ipl.h +++ b/hw/s390x/ipl.h @@ -20,5 +20,6 @@ typedef struct IplParameterBlock { int s390_ipl_update_diag308(IplParameterBlock *iplb); IplParameterBlock *s390_ipl_get_iplb(void); +void s390_reipl_request(void); #endif |