s390x/ipl: Support IPL from selected SCSI device
commite468b6730cb36a475fd4e71f57b020ca37ebd8ae
authorAlexander Yarygin <yarygin@linux.vnet.ibm.com>
Thu, 9 Jun 2016 12:54:10 +0000 (9 15:54 +0300)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 11 Jul 2016 07:48:05 +0000 (11 09:48 +0200)
tree986bd04c1f999cd4eaa5f0db888419615de17219
parent07c6f329bdf37595777ddd334de9bbd24d4eed7c
s390x/ipl: Support IPL from selected SCSI device

If bootindex is specified for a device, we need to IPL from
it. Currently it works for ccw devices, but not for SCSI. To be able to
IPL from the specific device, pc-bios needs to know its address.
For this reason we add special QEMU_SCSI IPL type into the IPLB
structure, that contains the scsi device address.

We enhance the ipl block with a currently qemu-only parameter block
that allows us to specify a concrete scsi device.

Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
Reviewed-by: Eric Farman <farman@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/ipl.c
hw/s390x/ipl.h