[libvirt] [PATCH v2 08/15] util: Replace virStoragePoolGetVhbaSCSIHostParent
Pavel Hrdina
phrdina at redhat.com
Sat Feb 18 22:07:34 UTC 2017
On Sat, Feb 18, 2017 at 03:43:47PM -0500, John Ferlan wrote:
> Use the new virNodeDeviceGetParentName instead. Modify the callers to
> build the node device scsi_host# name string in order to call the new
> function so that proper lookup occurs.
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>
> Changes since v1:
>
> This is the replacement/followup for the previous patch 7 which rename
> the virStoragePoolGetVhbaSCSIHostParent. Instead the code will now use
> the new virNodeDeviceGetParentName function passing the scsi_hostN name
> as generated in each of the callers (what would have been done by the
> calling code in the v1 code).
>
>
> src/conf/storage_conf.c | 70 ++++++--------------------------------
> src/conf/storage_conf.h | 5 ---
> src/libvirt_private.syms | 1 -
> src/storage/storage_backend_scsi.c | 23 +++++++++----
> 4 files changed, 27 insertions(+), 72 deletions(-)
ACK
Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170218/086ba4ae/attachment-0001.sig>
More information about the libvir-list
mailing list