]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Support hot-unplug for USB devices in QEMU
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 3 Mar 2010 15:10:36 +0000 (15:10 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 5 Mar 2010 15:02:40 +0000 (15:02 +0000)
commit8c82479d8334a0cc6a6748dfcb6319c86b27551c
tree1e3e32dd353b0bad9fb341dc0337799c11fbdcbe
parentb70a1f455cacd847a8f00b276bc59e433ae2a651
Support hot-unplug for USB devices in QEMU

Previously hot-unplug could not be supported for USB devices
in QEMU, since usb_del required the guest visible address
which libvirt never knows. With 'device_del' command we can
now unplug based on device alias, so support that.

* src/qemu/qemu_driver.c: Use device_del to remove USB devices
src/qemu/qemu_driver.c