From: Gonglei <arei.gong...@huawei.com>

add support for usb host adapter hotplug, as the same
as other pci devices.

change since v2:
 * add ehci unrealize function suggested by Gerd.
 * add usb host adapters exit trace.
 * rebase on latest qemu master tree.

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 (10):
  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: add ehci unrealize funciton
  usb-ehci: add ehci-pci device exit function
  usb-xhci: add exit function
  usb: tag usb host controller as hotpluggable
  usb: add usb host adapters exit trace

 hw/usb/bus.c          |  7 +++++++
 hw/usb/hcd-ehci-pci.c | 15 ++++++++++++++-
 hw/usb/hcd-ehci.c     | 33 ++++++++++++++++++++++++++++++++-
 hw/usb/hcd-ehci.h     |  2 ++
 hw/usb/hcd-ohci.c     | 26 ++++++++++++++++++++++++--
 hw/usb/hcd-uhci.c     | 19 ++++++++++++++++++-
 hw/usb/hcd-xhci.c     | 49 ++++++++++++++++++++++++++++++++++++++++++++++++-
 include/hw/usb.h      |  1 +
 trace-events          |  3 +++
 9 files changed, 149 insertions(+), 6 deletions(-)

-- 
1.7.12.4



Reply via email to