]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: hotplug: Fix adding USB devices to the driver list
authorCole Robinson <crobinso@redhat.com>
Thu, 5 Dec 2013 19:59:05 +0000 (14:59 -0500)
committerCole Robinson <crobinso@redhat.com>
Mon, 9 Dec 2013 18:43:48 +0000 (13:43 -0500)
commit586b0ed81828a443717b018989f2bced1bcfac01
tree058d970b03538bff9c32eb0bc246e9b5fe46bdec
parent5953a73787b50da56e2ee820a8095ccb09c7a79b
qemu: hotplug: Fix adding USB devices to the driver list

We were unconditionally removing the device from the host list, when it
should only be done on error.

This fixes USB collision detection when hotplugging the same device to
two guests.
src/qemu/qemu_hotplug.c