usb: tag usb host adapters as not hotpluggable.
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 22 Nov 2012 13:44:50 +0000 (14:44 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 29 Nov 2012 07:04:13 +0000 (08:04 +0100)
commit6c2d1c32d084320081b0cd047f8cacd6e722d03a
treebc60cc990632096b8a0ee6b0db480410ac9a5ae1
parente9bff10f8db94912b1b0e6e2e3394cae02faf614
usb: tag usb host adapters as not hotpluggable.

Hotplugging them simply doesn't work, so tag them accordingly to
avoid users trying and then crashing qemu.

For xhci there is nothing fundamental which prevents hotplug from
working, we'll "only" need a exit() function which cleans up
everything properly.  That isn't for 1.3 though.

For ehci+uhci+ohci hotplug can't be supported until qemu gains the
capability to hotplug multifunction pci devices.

https://bugzilla.redhat.com/show_bug.cgi?id=879096

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ehci-pci.c
hw/usb/hcd-ohci.c
hw/usb/hcd-uhci.c
hw/usb/hcd-xhci.c