mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 07:42:56 +00:00
Add virHostdevFindUSBDevice to private symbols
Finding an USB device from the vendor/device values will be needed by libxl driver to convert from vendor/device to bus/dev addresses. Signed-off-by: Jim Fehlig <jfehlig@suse.com>
This commit is contained in:
parent
f7658da6b3
commit
ea46e00f12
@ -1648,6 +1648,7 @@ virHookPresent;
|
|||||||
|
|
||||||
|
|
||||||
# util/virhostdev.h
|
# util/virhostdev.h
|
||||||
|
virHostdevFindUSBDevice;
|
||||||
virHostdevManagerGetDefault;
|
virHostdevManagerGetDefault;
|
||||||
virHostdevPCINodeDeviceDetach;
|
virHostdevPCINodeDeviceDetach;
|
||||||
virHostdevPCINodeDeviceReAttach;
|
virHostdevPCINodeDeviceReAttach;
|
||||||
|
@ -1178,7 +1178,7 @@ virHostdevMarkUSBDevices(virHostdevManagerPtr mgr,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int
|
int
|
||||||
virHostdevFindUSBDevice(virDomainHostdevDefPtr hostdev,
|
virHostdevFindUSBDevice(virDomainHostdevDefPtr hostdev,
|
||||||
bool mandatory,
|
bool mandatory,
|
||||||
virUSBDevicePtr *usb)
|
virUSBDevicePtr *usb)
|
||||||
|
@ -66,6 +66,12 @@ virHostdevPreparePCIDevices(virHostdevManagerPtr hostdev_mgr,
|
|||||||
unsigned int flags)
|
unsigned int flags)
|
||||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3)
|
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3)
|
||||||
ATTRIBUTE_NONNULL(4);
|
ATTRIBUTE_NONNULL(4);
|
||||||
|
|
||||||
|
int
|
||||||
|
virHostdevFindUSBDevice(virDomainHostdevDefPtr hostdev,
|
||||||
|
bool mandatory,
|
||||||
|
virUSBDevicePtr *usb)
|
||||||
|
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(3);
|
||||||
int
|
int
|
||||||
virHostdevPrepareUSBDevices(virHostdevManagerPtr hostdev_mgr,
|
virHostdevPrepareUSBDevices(virHostdevManagerPtr hostdev_mgr,
|
||||||
const char *drv_name,
|
const char *drv_name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user