mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 04:55:18 +00:00
qemu: hotplug: Mark 2 private functions as static
They aren't used outside of qemu_hotplug.c (cherry picked from commit 79776aa5940bbfc77fc614c6671ca9070a5e0305)
This commit is contained in:
parent
e7e2720b37
commit
80e9c8656c
@ -1124,9 +1124,10 @@ try_remove:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int qemuDomainAttachHostPciDevice(virQEMUDriverPtr driver,
|
static int
|
||||||
virDomainObjPtr vm,
|
qemuDomainAttachHostPciDevice(virQEMUDriverPtr driver,
|
||||||
virDomainHostdevDefPtr hostdev)
|
virDomainObjPtr vm,
|
||||||
|
virDomainHostdevDefPtr hostdev)
|
||||||
{
|
{
|
||||||
qemuDomainObjPrivatePtr priv = vm->privateData;
|
qemuDomainObjPrivatePtr priv = vm->privateData;
|
||||||
int ret;
|
int ret;
|
||||||
@ -1416,9 +1417,10 @@ cleanup:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int qemuDomainAttachHostUsbDevice(virQEMUDriverPtr driver,
|
static int
|
||||||
virDomainObjPtr vm,
|
qemuDomainAttachHostUsbDevice(virQEMUDriverPtr driver,
|
||||||
virDomainHostdevDefPtr hostdev)
|
virDomainObjPtr vm,
|
||||||
|
virDomainHostdevDefPtr hostdev)
|
||||||
{
|
{
|
||||||
qemuDomainObjPrivatePtr priv = vm->privateData;
|
qemuDomainObjPrivatePtr priv = vm->privateData;
|
||||||
virUSBDeviceList *list = NULL;
|
virUSBDeviceList *list = NULL;
|
||||||
|
@ -47,12 +47,6 @@ int qemuDomainAttachNetDevice(virConnectPtr conn,
|
|||||||
virQEMUDriverPtr driver,
|
virQEMUDriverPtr driver,
|
||||||
virDomainObjPtr vm,
|
virDomainObjPtr vm,
|
||||||
virDomainNetDefPtr net);
|
virDomainNetDefPtr net);
|
||||||
int qemuDomainAttachHostPciDevice(virQEMUDriverPtr driver,
|
|
||||||
virDomainObjPtr vm,
|
|
||||||
virDomainHostdevDefPtr hostdev);
|
|
||||||
int qemuDomainAttachHostUsbDevice(virQEMUDriverPtr driver,
|
|
||||||
virDomainObjPtr vm,
|
|
||||||
virDomainHostdevDefPtr hostdev);
|
|
||||||
int qemuDomainAttachRedirdevDevice(virQEMUDriverPtr driver,
|
int qemuDomainAttachRedirdevDevice(virQEMUDriverPtr driver,
|
||||||
virDomainObjPtr vm,
|
virDomainObjPtr vm,
|
||||||
virDomainRedirdevDefPtr hostdev);
|
virDomainRedirdevDefPtr hostdev);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user