]> git.proxmox.com Git - qemu.git/commit
usb-host: use qdev for -usbdevice + rework.
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 26 Oct 2009 14:56:50 +0000 (15:56 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 30 Oct 2009 13:39:32 +0000 (08:39 -0500)
commit26a9e82ac4419f4d096404100b63fb2200e47000
tree73f2637db4313d2b37bfaefaf02a76a99ce469b9
parentb3e461d3d6426db74870cd2f54fc24af336660e9
usb-host: use qdev for -usbdevice + rework.

Changes:

 * We don't create/delete devices, we attach/detach them instead.
 * The separate autofilter list is gone, we simply walk the list
   of devices directly instead.
 * Autofiltering is done unconditionally now.  Non-auto device scan
   code got dropped.
 * Autofiltering turns off the timer if there is nothing to do, it
   runs only in case there are unattached host devices.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
usb-linux.c