mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 06:35:24 +00:00
qemu: hotplug: Mark 2 private functions as static
They aren't used outside of qemu_hotplug.c
This commit is contained in:
parent
d51855d10f
commit
79776aa594
@ -1141,9 +1141,10 @@ try_remove:
|
||||
}
|
||||
|
||||
|
||||
int qemuDomainAttachHostPciDevice(virQEMUDriverPtr driver,
|
||||
virDomainObjPtr vm,
|
||||
virDomainHostdevDefPtr hostdev)
|
||||
static int
|
||||
qemuDomainAttachHostPciDevice(virQEMUDriverPtr driver,
|
||||
virDomainObjPtr vm,
|
||||
virDomainHostdevDefPtr hostdev)
|
||||
{
|
||||
qemuDomainObjPrivatePtr priv = vm->privateData;
|
||||
int ret;
|
||||
@ -1433,9 +1434,10 @@ cleanup:
|
||||
return ret;
|
||||
}
|
||||
|
||||
int qemuDomainAttachHostUsbDevice(virQEMUDriverPtr driver,
|
||||
virDomainObjPtr vm,
|
||||
virDomainHostdevDefPtr hostdev)
|
||||
static int
|
||||
qemuDomainAttachHostUsbDevice(virQEMUDriverPtr driver,
|
||||
virDomainObjPtr vm,
|
||||
virDomainHostdevDefPtr hostdev)
|
||||
{
|
||||
qemuDomainObjPrivatePtr priv = vm->privateData;
|
||||
virUSBDeviceList *list = NULL;
|
||||
|
@ -47,12 +47,6 @@ int qemuDomainAttachNetDevice(virConnectPtr conn,
|
||||
virQEMUDriverPtr driver,
|
||||
virDomainObjPtr vm,
|
||||
virDomainNetDefPtr net);
|
||||
int qemuDomainAttachHostPciDevice(virQEMUDriverPtr driver,
|
||||
virDomainObjPtr vm,
|
||||
virDomainHostdevDefPtr hostdev);
|
||||
int qemuDomainAttachHostUsbDevice(virQEMUDriverPtr driver,
|
||||
virDomainObjPtr vm,
|
||||
virDomainHostdevDefPtr hostdev);
|
||||
int qemuDomainAttachRedirdevDevice(virQEMUDriverPtr driver,
|
||||
virDomainObjPtr vm,
|
||||
virDomainRedirdevDefPtr hostdev);
|
||||
|
Loading…
Reference in New Issue
Block a user