hostdev: Rename virHostdevUpdateDomainActiveDevices()

The new name, virHostdevUpdateActiveDomainDevices(), follows the
same naming conventions used by the rest of the module.

No functional changes.
This commit is contained in:
Andrea Bolognani 2015-10-26 11:59:41 +01:00
parent e739d956e8
commit 2ab52f4af7
4 changed files with 4 additions and 4 deletions

View File

@ -1534,10 +1534,10 @@ virHostdevReAttachDomainDevices;
virHostdevReAttachPCIDevices; virHostdevReAttachPCIDevices;
virHostdevReAttachSCSIDevices; virHostdevReAttachSCSIDevices;
virHostdevReAttachUSBDevices; virHostdevReAttachUSBDevices;
virHostdevUpdateActiveDomainDevices;
virHostdevUpdateActivePCIDevices; virHostdevUpdateActivePCIDevices;
virHostdevUpdateActiveSCSIDevices; virHostdevUpdateActiveSCSIDevices;
virHostdevUpdateActiveUSBDevices; virHostdevUpdateActiveUSBDevices;
virHostdevUpdateDomainActiveDevices;
# util/viridentity.h # util/viridentity.h

View File

@ -377,7 +377,7 @@ libxlReconnectDomain(virDomainObjPtr vm,
vm->def->id = d_info.domid; vm->def->id = d_info.domid;
/* Update hostdev state */ /* Update hostdev state */
if (virHostdevUpdateDomainActiveDevices(hostdev_mgr, LIBXL_DRIVER_NAME, if (virHostdevUpdateActiveDomainDevices(hostdev_mgr, LIBXL_DRIVER_NAME,
vm->def, VIR_HOSTDEV_SP_PCI) < 0) vm->def, VIR_HOSTDEV_SP_PCI) < 0)
goto out; goto out;

View File

@ -1704,7 +1704,7 @@ virHostdevReAttachDomainDevices(virHostdevManagerPtr mgr,
} }
int int
virHostdevUpdateDomainActiveDevices(virHostdevManagerPtr mgr, virHostdevUpdateActiveDomainDevices(virHostdevManagerPtr mgr,
const char *driver, const char *driver,
virDomainDefPtr def, virDomainDefPtr def,
unsigned int flags) unsigned int flags)

View File

@ -125,7 +125,7 @@ virHostdevUpdateActiveSCSIDevices(virHostdevManagerPtr mgr,
const char *dom_name) const char *dom_name)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(4) ATTRIBUTE_NONNULL(5); ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(4) ATTRIBUTE_NONNULL(5);
int int
virHostdevUpdateDomainActiveDevices(virHostdevManagerPtr mgr, virHostdevUpdateActiveDomainDevices(virHostdevManagerPtr mgr,
const char *driver, const char *driver,
virDomainDefPtr def, virDomainDefPtr def,
unsigned int flags) unsigned int flags)