From: Gonglei <arei.gong...@huawei.com> add support for usb host adapter hotplug, as the same as other pci devices.
changes since v1: * rework usb_bus_release function suggested by Gerd. * add more completely resource cleanup for every usb host adapter. * fix memory leak. Gonglei (9): usb: add usb_bus_release function usb-ohci: Fix memory leak for ohci timer usb-ohci: add exit function usb-uhci: clean up uhci resource when pci-uhci exit usb-ehci: add vmstate properity for EHCIState usb-ehci: expose ehci_queues_rip_all usb-ehci: add ehci-pci device exit function usb-xhci: add exit function usb: tag usb host controller as hotpluggable hw/usb/bus.c | 7 +++++++ hw/usb/hcd-ehci-pci.c | 34 +++++++++++++++++++++++++++++++++- hw/usb/hcd-ehci.c | 4 ++-- hw/usb/hcd-ehci.h | 2 ++ hw/usb/hcd-ohci.c | 26 ++++++++++++++++++++++++-- hw/usb/hcd-uhci.c | 17 ++++++++++++++++- hw/usb/hcd-xhci.c | 47 ++++++++++++++++++++++++++++++++++++++++++++++- include/hw/usb.h | 1 + 8 files changed, 131 insertions(+), 7 deletions(-) -- 1.7.12.4