qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/4] s390x: follow qdev tree to detect SCSI device on a CCW b


From: Halil Pasic
Subject: Re: [PATCH 1/4] s390x: follow qdev tree to detect SCSI device on a CCW bus
Date: Thu, 31 Mar 2022 02:21:49 +0200

On Mon, 28 Mar 2022 16:30:16 +0200
Paolo Bonzini <pbonzini@redhat.com> 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 <pbonzini@redhat.com>

Reviewed-by: Halil Pasic <pasic@linux.ibm.com>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]