qemu-patch-raspberry4/pc-bios/s390-ccw
Jason J. Herne 3668cb7ce8 s390-bios: Use control unit type to determine boot method
The boot method is different depending on which device type we are
booting from. Let's examine the control unit type to determine if we're
a virtio device. We'll eventually add a case to check for a real dasd device
here as well.

Since we have to call enable_subchannel() in main now, might as well
remove that call from virtio.c : run_ccw(). This requires adding some
additional enable_subchannel calls to not break calls to
virtio_is_supported().

Signed-off-by: Jason J. Herne <jjherne@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1554388475-18329-14-git-send-email-jjherne@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2019-04-12 12:40:35 +02:00
..
bootmap.c pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +02:00
bootmap.h pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +02:00
bswap.h pc-bios/s390-ccw: Move byteswap functions to a separate header 2017-07-14 12:29:48 +02:00
cio.c s390-bios: cio error handling 2019-04-12 12:40:35 +02:00
cio.h s390-bios: Support for running format-0/1 channel programs 2019-04-12 12:40:35 +02:00
helper.h s390-bios: ptr2u32 and u32toptr 2019-04-12 12:40:35 +02:00
iplb.h pc-bios/s390-ccw: define loadparm length 2018-06-18 15:08:44 +02:00
jump2ipl.c pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +02:00
libc.c pc-bios/s390-ccw: size_t should be unsigned 2018-05-02 11:27:14 +02:00
libc.h s390-bios: cio error handling 2019-04-12 12:40:35 +02:00
main.c s390-bios: Use control unit type to determine boot method 2019-04-12 12:40:35 +02:00
Makefile s390-bios: Decouple channel i/o logic from virtio 2019-04-12 12:40:35 +02:00
menu.c pc-bios/s390-ccw: fix non-sequential boot entries (enum) 2018-05-02 11:27:14 +02:00
netboot.mak s390-bios: Decouple channel i/o logic from virtio 2019-04-12 12:40:35 +02:00
netmain.c s390-bios: Use control unit type to determine boot method 2019-04-12 12:40:35 +02:00
s390-arch.h s390-bios: Map low core memory 2019-04-12 12:40:35 +02:00
s390-ccw.h s390-bios: Support for running format-0/1 channel programs 2019-04-12 12:40:35 +02:00
sclp.c pc-bios/s390-ccw: define loadparm length 2018-06-18 15:08:44 +02:00
sclp.h pc-bios/s390-ccw: define loadparm length 2018-06-18 15:08:44 +02:00
scsi.h pc-bios/s390-ccw: Get Block Limits VPD device data 2017-05-19 12:29:01 +02:00
start.S s390-bios: Support for running format-0/1 channel programs 2019-04-12 12:40:35 +02:00
virtio-blkdev.c pc-bios/s390-ccw: Move virtio-block related functions into a separate file 2017-07-14 12:29:48 +02:00
virtio-net.c pc-bios/s390-ccw: Add virtio-net driver code 2017-07-14 12:29:48 +02:00
virtio-scsi.c pc-bios/s390-ccw: Fix problem with invalid virtio-scsi LUN when rebooting 2017-11-20 10:35:12 +01:00
virtio-scsi.h pc-bios/s390-ccw: Build a reasonable max_sectors limit 2017-05-19 12:29:01 +02:00
virtio.c s390-bios: Use control unit type to determine boot method 2019-04-12 12:40:35 +02:00
virtio.h pc-bios/s390-ccw: Add virtio-net driver code 2017-07-14 12:29:48 +02:00