mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +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;
|
virHostdevReAttachPCIDevices;
|
||||||
virHostdevReAttachSCSIDevices;
|
virHostdevReAttachSCSIDevices;
|
||||||
virHostdevReAttachUSBDevices;
|
virHostdevReAttachUSBDevices;
|
||||||
|
virHostdevUpdateActiveDomainDevices;
|
||||||
virHostdevUpdateActivePCIDevices;
|
virHostdevUpdateActivePCIDevices;
|
||||||
virHostdevUpdateActiveSCSIDevices;
|
virHostdevUpdateActiveSCSIDevices;
|
||||||
virHostdevUpdateActiveUSBDevices;
|
virHostdevUpdateActiveUSBDevices;
|
||||||
virHostdevUpdateDomainActiveDevices;
|
|
||||||
|
|
||||||
|
|
||||||
# util/viridentity.h
|
# util/viridentity.h
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user