pc-bios/s390-ccw: Pass selected SCSI device to IPL
commitb39b7718dc23e9890ea7e770f543e6f2d17cb31b
authorEugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
Wed, 1 Jun 2016 13:25:51 +0000 (1 15:25 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 11 Jul 2016 07:48:05 +0000 (11 09:48 +0200)
tree853fa5d094ee7f24f0748a15ee8623f7b6ec38d3
parent4f4a9ca4a4386c137301b3662faba076455ff15a
pc-bios/s390-ccw: Pass selected SCSI device to IPL

There is ,bootindex=%d argument to specify the lookup order of
boot devices.

If a bootindex assigned to the device, then IPL Parameter Info Block
is created for that device when it is IPLed from.

If it is a mere SCSI device (not FCP), then IPIB is created with a
special SCSI type and its fields are used to store SCSI address of the
device. This new ipl block is private to qemu for now.

If the device to IPL from is specified this way, then SCSI bus lookup
is bypassed and prescribed devices uses the address specified.

Signed-off-by: Eugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
pc-bios/s390-ccw/iplb.h
pc-bios/s390-ccw/main.c
pc-bios/s390-ccw/virtio-scsi.c
pc-bios/s390-ccw/virtio.h