The new name, virHostdevUpdateActiveDomainDevices(), follows the same naming conventions used by the rest of the module. No functional changes. --- src/libvirt_private.syms | 2 +- src/libxl/libxl_driver.c | 2 +- src/util/virhostdev.c | 2 +- src/util/virhostdev.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index be6ee19..4b7e165 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -1534,10 +1534,10 @@ virHostdevReAttachDomainDevices; virHostdevReAttachPCIDevices; virHostdevReAttachSCSIDevices; virHostdevReAttachUSBDevices; +virHostdevUpdateActiveDomainDevices; virHostdevUpdateActivePCIDevices; virHostdevUpdateActiveSCSIDevices; virHostdevUpdateActiveUSBDevices; -virHostdevUpdateDomainActiveDevices; # util/viridentity.h diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c index fc6dcec..fcdcbdb 100644 --- a/src/libxl/libxl_driver.c +++ b/src/libxl/libxl_driver.c @@ -377,7 +377,7 @@ libxlReconnectDomain(virDomainObjPtr vm, vm->def->id = d_info.domid; /* Update hostdev state */ - if (virHostdevUpdateDomainActiveDevices(hostdev_mgr, LIBXL_DRIVER_NAME, + if (virHostdevUpdateActiveDomainDevices(hostdev_mgr, LIBXL_DRIVER_NAME, vm->def, VIR_HOSTDEV_SP_PCI) < 0) goto out; diff --git a/src/util/virhostdev.c b/src/util/virhostdev.c index 0bc5120..de029a0 100644 --- a/src/util/virhostdev.c +++ b/src/util/virhostdev.c @@ -1704,7 +1704,7 @@ virHostdevReAttachDomainDevices(virHostdevManagerPtr mgr, } int -virHostdevUpdateDomainActiveDevices(virHostdevManagerPtr mgr, +virHostdevUpdateActiveDomainDevices(virHostdevManagerPtr mgr, const char *driver, virDomainDefPtr def, unsigned int flags) diff --git a/src/util/virhostdev.h b/src/util/virhostdev.h index 2036430..c451981 100644 --- a/src/util/virhostdev.h +++ b/src/util/virhostdev.h @@ -125,7 +125,7 @@ virHostdevUpdateActiveSCSIDevices(virHostdevManagerPtr mgr, const char *dom_name) ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(4) ATTRIBUTE_NONNULL(5); int -virHostdevUpdateDomainActiveDevices(virHostdevManagerPtr mgr, +virHostdevUpdateActiveDomainDevices(virHostdevManagerPtr mgr, const char *driver, virDomainDefPtr def, unsigned int flags) -- 2.4.3 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list