Hi,
Here comes the usb patch queue. It features cleanup functions for the
host adapters, in preparation to make them hot-pluggable. Hotplug itself
isn't there yet, some details still need to be sorted as we can't
hotplug companion controller setups (expect RfC patches soon), but the
majority of the bits needed to make hotplug fly is there.
There are also some simple host adapter tests (just start qemu with an
device instance, not much actual testing yet), and the usual collection
of bugfixes.
please pull,
Gerd
The following changes since commit c47c61be8dcd91689c8fc77776db924d684c3b39:
Merge remote-tracking branch
'remotes/awilliam/tags/vfio-pci-for-qemu-20140825.0' into staging (2014-08-26
10:42:06 +0100)
are available in the git repository at:
git://git.kraxel.org/qemu tags/pull-usb-20140829-1
for you to fetch changes up to 25e89ec5d2c7f8d953cb1ca558afa74974ff8930:
tests: add xHCI qtest (2014-08-29 12:53:47 +0200)
----------------------------------------------------------------
usb: bugfix collection.
usb: add cleanup functions for host adapters,
in preparation for hotplug support.
usb: add simple qtests for uhci,ohci,xhci.
----------------------------------------------------------------
Gerd Hoffmann (2):
xhci: use (1u << i)
Revert "xhci: Fix number of streams allocated when using streams"
Gonglei (13):
xhci: fix debug print compiling error
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: add usb host adapters exit trace
tests: add OHCI qtest
tests: add UHCI qtest
tests: add xHCI qtest
Jack Un (1):
Fix OHCI ISO TD state never being written back.
Markus Armbruster (1):
usb: Fix bootindex for portnr > 9
MAINTAINERS | 2 +-
hw/usb/bus.c | 11 +++++++++--
hw/usb/hcd-ehci-pci.c | 14 +++++++++++++
hw/usb/hcd-ehci.c | 29 ++++++++++++++++++++++++++-
hw/usb/hcd-ehci.h | 2 ++
hw/usb/hcd-ohci.c | 27 ++++++++++++++++++++++---
hw/usb/hcd-uhci.c | 24 +++++++++++++++++++++++
hw/usb/hcd-xhci.c | 50 +++++++++++++++++++++++++++++++++++++++++------
include/hw/usb.h | 1 +
tests/Makefile | 10 +++++++++-
tests/usb-hcd-ohci-test.c | 35 +++++++++++++++++++++++++++++++++
tests/usb-hcd-uhci-test.c | 35 +++++++++++++++++++++++++++++++++
tests/usb-hcd-xhci-test.c | 35 +++++++++++++++++++++++++++++++++
trace-events | 3 +++
14 files changed, 264 insertions(+), 14 deletions(-)
create mode 100644 tests/usb-hcd-ohci-test.c
create mode 100644 tests/usb-hcd-uhci-test.c
create mode 100644 tests/usb-hcd-xhci-test.c