[libvirt] [PATCH v2 1/2] domain_conf: Make virDomainDeviceFindSCSIController accept virDomainDeviceDriveAddress struct

Daniel P. Berrangé berrange at redhat.com
Tue Oct 22 15:51:42 UTC 2019


On Wed, Sep 11, 2019 at 03:17:41PM +0200, Michal Privoznik wrote:
> So far, the virDomainDeviceFindSCSIController() takes
> virDomainDeviceInfo structure which is an overkill. It assumes
> that the passed structure is type of
> VIR_DOMAIN_DEVICE_ADDRESS_TYPE_DRIVE which is not obvious.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/conf/domain_conf.c         | 6 +++---
>  src/conf/domain_conf.h         | 2 +-
>  src/qemu/qemu_domain_address.c | 2 +-
>  src/vbox/vbox_common.c         | 2 +-
>  4 files changed, 6 insertions(+), 6 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list