On Mon, 28 Mar 2022 16:30:16 +0200 Paolo Bonzini <[email protected]> wrote:
> 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. > > Signed-off-by: Paolo Bonzini <[email protected]> Reviewed-by: Halil Pasic <[email protected]>
