s390x/ipl: drop reipl parameters on resets
commite91e972ccfbaeba1d1416202ad1b667810a33e1f
authorFan Zhang <zhangfan@linux.vnet.ibm.com>
Thu, 12 Feb 2015 17:02:15 +0000 (12 18:02 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 13 Feb 2015 15:14:09 +0000 (13 16:14 +0100)
tree7c4b11e92edf909d738c5824b6b336829e42f8ec
parentdf75a4e2c607836eee044d7e6b0d94724d6ebf21
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>
hw/s390x/ipl.c
hw/s390x/ipl.h
target-s390x/kvm.c