summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorJason J. Herne <jjherne@linux.ibm.com>2019-04-04 10:34:32 -0400
committerThomas Huth <thuth@redhat.com>2019-04-12 12:40:35 +0200
commit3668cb7ce864ee9351d5d20a1ec6b427cd0b3be4 (patch)
treeed85a6915b6b35857961202e57689c4b06f758bf /hw/net/virtio-net.c
parent9de6cbb152bee3917e58ad00633eddafb40d6678 (diff)
downloadfocaccia-qemu-3668cb7ce864ee9351d5d20a1ec6b427cd0b3be4.tar.gz
focaccia-qemu-3668cb7ce864ee9351d5d20a1ec6b427cd0b3be4.zip
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>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions