aboutsummaryrefslogtreecommitdiff
path: root/README.rst
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 /README.rst
parentd8701185f40cc900d23cd93411abf1554d05ed7b (diff)
downloadqemu-7d2eb76d0407fc391b78df16d17f1e616ec3e228.zip
qemu-7d2eb76d0407fc391b78df16d17f1e616ec3e228.tar.gz
qemu-7d2eb76d0407fc391b78df16d17f1e616ec3e228.tar.bz2
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 'README.rst')
0 files changed, 0 insertions, 0 deletions