
On 23.12.2011 04:48, Osier Yang wrote:
On 2011年12月23日 01:20, Michal Privoznik wrote:
In order to avoid situation where a USB device is in use by two domains, we must keep a list of already attached devices like we do for PCI. --- src/qemu/qemu_conf.h | 2 + src/qemu/qemu_driver.c | 4 + src/qemu/qemu_hostdev.c | 92 ++++++++++++++++++++++++++++-- src/qemu/qemu_hostdev.h | 4 + src/qemu/qemu_hotplug.c | 17 +++++- src/util/hostusb.c | 140 +++++++++++++++++++++++++++++++++++++++++++++++ src/util/hostusb.h | 18 ++++++ 7 files changed, 269 insertions(+), 8 deletions(-)
...
Everything looks fine, except missing to add the new internal functions into libvirt_private.syms. ACK with the nit fixed.
Regards, Osier
Thanks, fixed and pushed. Michal