qemu/hw/s390x
Viktor Mihajlovski 789b5a401b s390: Ensure IPL from SCSI works as expected
Operating systems may request an IPL from a virtio-scsi device
by specifying an IPL parameter type of CCW. In this case QEMU
won't set up the IPLB correctly. The BIOS will still detect
it's a SCSI device to boot from, but it will now have to search
for the first LUN and attempt to boot from there.
However this may not be the original boot LUN if there's more than
one SCSI disk attached to the HBA.

With this change QEMU will detect that the request is for a
SCSI device and will rebuild the initial IPL parameter info
if it's the SCSI device used for the first boot. In consequence
the BIOS can use the boot LUN from the IPL information block.

In case a different SCSI device has been set, the BIOS will find
and use the first available LUN.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Message-Id: <1522940844-12336-3-git-send-email-mihajlov@linux.vnet.ibm.com>
Reviewed-by: Farhan Ali <alifm@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2018-04-09 13:50:31 +02:00
..
3270-ccw.c
ccw-device.c
ccw-device.h
css-bridge.c
css.c
event-facility.c s390x/sclp: clean up sclp masks 2018-03-08 15:49:23 +01:00
ipl.c s390: Ensure IPL from SCSI works as expected 2018-04-09 13:50:31 +02:00
ipl.h
Makefile.objs
s390-ccw.c
s390-pci-bus.c s390x/pci: forbid multifunction pci device 2018-03-23 09:05:18 +00:00
s390-pci-bus.h
s390-pci-inst.c
s390-pci-inst.h
s390-pci-stub.c
s390-skeys-kvm.c
s390-skeys.c
s390-stattrib-kvm.c
s390-stattrib.c migration: introduce postcopy-only pending 2018-03-13 17:05:41 -04:00
s390-virtio-ccw.c hw/s390x: fix memory leak in s390_init_ipl_dev() 2018-04-03 10:03:38 +02:00
s390-virtio-hcall.c
s390-virtio-hcall.h
sclp.c
sclpcpu.c s390x/sclp: clean up sclp masks 2018-03-08 15:49:23 +01:00
sclpquiesce.c s390x/sclp: clean up sclp masks 2018-03-08 15:49:23 +01:00
trace-events
virtio-ccw.c s390x/virtio: Convert virtio-ccw from *_exit to *_unrealize 2018-03-08 17:22:20 +01:00
virtio-ccw.h s390x/virtio: Convert virtio-ccw from *_exit to *_unrealize 2018-03-08 17:22:20 +01:00