mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
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:
parent
e739d956e8
commit
2ab52f4af7
@ -1534,10 +1534,10 @@ virHostdevReAttachDomainDevices;
|
||||
virHostdevReAttachPCIDevices;
|
||||
virHostdevReAttachSCSIDevices;
|
||||
virHostdevReAttachUSBDevices;
|
||||
virHostdevUpdateActiveDomainDevices;
|
||||
virHostdevUpdateActivePCIDevices;
|
||||
virHostdevUpdateActiveSCSIDevices;
|
||||
virHostdevUpdateActiveUSBDevices;
|
||||
virHostdevUpdateDomainActiveDevices;
|
||||
|
||||
|
||||
# util/viridentity.h
|
||||
|
@ -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;
|
||||
|
||||
|
@ -1704,7 +1704,7 @@ virHostdevReAttachDomainDevices(virHostdevManagerPtr mgr,
|
||||
}
|
||||
|
||||
int
|
||||
virHostdevUpdateDomainActiveDevices(virHostdevManagerPtr mgr,
|
||||
virHostdevUpdateActiveDomainDevices(virHostdevManagerPtr mgr,
|
||||
const char *driver,
|
||||
virDomainDefPtr def,
|
||||
unsigned int flags)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user