Hi, Here comes the usb patch queue, a bit larger this time. The big chunk of it is the refactoring to use realise for usb device initialization. There are also the usual bugfixes, host adapter hotplug support and tracing bits for ohci.
please pull, Gerd The following changes since commit 07e2863d0271ac6c05206d8ce9e4f4c39b25d3ea: exec.c: fix setting 1-byte-long watchpoints (2014-09-19 17:42:16 +0100) are available in the git repository at: git://git.kraxel.org/qemu tags/pull-usb-20140923-1 for you to fetch changes up to ec56214f6f23c1e2f78de6afa6835acc35fc03ed: usb: tag standalone ehci as hotpluggable (2014-09-23 12:51:08 +0200) ---------------------------------------------------------------- usb: enable hotplug, switch to realize, ohci tracing, misc fixes. ---------------------------------------------------------------- Alexey Kardashevskiy (1): ohci: Convert fprint/DPRINTF/print to traces Gerd Hoffmann (3): usb: tag xhci as hotpluggable usb: tag standalone uhci as hotpluggable usb: tag standalone ehci as hotpluggable Gonglei (21): usb-storage: fix possible memory leak and missing error message usb-bus: convert USBDeviceClass init to realize usb-net: convert init to realize libusb: convert init to realize libusb: using error_report instead of fprintf usb-hub: convert init to realize dev-storage: convert init to realize dev-storage: usring error_report instead of fprintf/printf dev-uas: convert init to realize dev-uas: using error_report instead of fprintf dev-bluetooth: convert init to realize dev-serial: convert init to realize usb-ccid: convert init to realize dev-hid: convert init to realize dev-wacom: convert init to realize usb-audio: convert init to realize usb-redir: convert init to realize usb-mtp: convert init to realize usb-bus: remove "init" from USBDeviceClass struct usb-bus: introduce a wrapper function to check speed usb-serial: only check speed once at realize time Markus Armbruster (1): usb-storage: Fix how legacy init handles option ID clash hw/usb/bus.c | 91 +++++++++-------- hw/usb/dev-audio.c | 5 +- hw/usb/dev-bluetooth.c | 6 +- hw/usb/dev-hid.c | 27 +++-- hw/usb/dev-hub.c | 9 +- hw/usb/dev-mtp.c | 5 +- hw/usb/dev-network.c | 9 +- hw/usb/dev-serial.c | 24 +++-- hw/usb/dev-smartcard-reader.c | 5 +- hw/usb/dev-storage.c | 48 ++++----- hw/usb/dev-uas.c | 17 ++-- hw/usb/dev-wacom.c | 5 +- hw/usb/hcd-ehci-pci.c | 12 ++- hw/usb/hcd-ehci.c | 8 +- hw/usb/hcd-ehci.h | 1 + hw/usb/hcd-ohci.c | 222 +++++++++++++++++++----------------------- hw/usb/hcd-uhci.c | 16 ++- hw/usb/hcd-xhci.c | 1 - hw/usb/host-libusb.c | 33 ++++--- hw/usb/redirect.c | 21 ++-- include/hw/usb.h | 11 ++- trace-events | 56 +++++++++++ 22 files changed, 355 insertions(+), 277 deletions(-)