[libvirt] [PATCH 17/27] Add APIs for sending 'usb_add' command for host devices
Mark McLoughlin
markmc at redhat.com
Mon Sep 28 13:23:02 UTC 2009
On Thu, 2009-09-24 at 16:00 +0100, Daniel P. Berrange wrote:
> One API adds an exact device based on bus+dev, the other adds
> any device matching vendor+product
>
> * src/qemu/qemu_monitor.c, src/qemu/qemu_monitor.h: Add new
> qemuMonitorAddUSBDeviceExact() and qemuMonitorAddUSBDeviceMatch()
> commands.
> * src/qemu/qemu_driver.c: Switch over to using the new
> qemuMonitorAddUSBDeviceExact() and qemuMonitorAddUSBDeviceMatch()
> ---
> src/qemu/qemu_driver.c | 43 +++++-------------------
> src/qemu/qemu_monitor_text.c | 73 ++++++++++++++++++++++++++++++++++++++++++
> src/qemu/qemu_monitor_text.h | 7 ++++
> 3 files changed, 89 insertions(+), 34 deletions(-)
...
ACK
Cheers,
Mark.
More information about the libvir-list
mailing list