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

2019-10-22 Thread Daniel P . Berrangé
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. > >

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

2019-09-11 Thread Michal Privoznik
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 --- src/conf/domain_conf.c | 6 +++---