s390x/ipl: fix reboots for migration from different bios
commitbb0995468a39f14077ceaa8ed5afdca849f00c7c
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Thu, 9 Jun 2016 13:36:41 +0000 (9 15:36 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 11 Jul 2016 07:48:05 +0000 (11 09:48 +0200)
tree00eca39955df1afabc8db435acdd50ce7b8fc69d
parente468b6730cb36a475fd4e71f57b020ca37ebd8ae
s390x/ipl: fix reboots for migration from different bios

When migrating from a different QEMU version, the start_address and
bios_start_address may differ. During migration these values are migrated
and overwrite the values that were detected by QEMU itself.

On a reboot, QEMU will reload its own BIOS, but use the migrated start
addresses, which does not work if the values differ.

Fix this by not relying on the migrated values anymore, but still
provide them during migration, so existing QEMUs continue to work.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/ipl.c
hw/s390x/ipl.h