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.