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(a)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