summary refs log tree commit diff stats
path: root/util/coroutine-win32.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-03-28 09:40:00 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-06 14:31:56 +0200
commit7d2eb76d0407fc391b78df16d17f1e616ec3e228 (patch)
tree368eea85a315f61c481b6f54343c5deac00c9740 /util/coroutine-win32.c
parentd8701185f40cc900d23cd93411abf1554d05ed7b (diff)
downloadfocaccia-qemu-7d2eb76d0407fc391b78df16d17f1e616ec3e228.tar.gz
focaccia-qemu-7d2eb76d0407fc391b78df16d17f1e616ec3e228.zip
s390x: follow qdev tree to detect SCSI device on a CCW bus
Do not make assumptions on the parent type of the SCSIDevice, instead
use object_dynamic_cast all the way up to the CcwDevice.  This is cleaner
because there is no guarantee that the bus is on a virtio-scsi device;
that is only the case for the default configuration of QEMU's s390x
target.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/coroutine-win32.c')
0 files changed, 0 insertions, 0 deletions