qdev/usb: make qemu aware of usb busses.
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 31 Aug 2009 12:24:00 +0000 (14:24 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 9 Sep 2009 19:55:17 +0000 (14:55 -0500)
commita5d2f7273c4f59942cc7ffa763d6b60a6f44e908
tree58aa343b12e77313bc708d3166a9bc609039d40c
parent806b60248218bd5f74a8b070f5a99a864e8e51c6
qdev/usb: make qemu aware of usb busses.

Move usb code from vl.c to usb-bus.c and make it use the new data
structures added by qdev conversion.  qemu usb core should be able
to handle multiple USB busses just fine now (untested though).

Kill some usb_*_init() legacy functions, use usb_create_simple()
instead.

Kill some FIXMEs added by the first qdev/usb patch.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/bt-hid.c
hw/usb-bus.c
hw/usb-hid.c
hw/usb-hub.c
hw/usb-musb.c
hw/usb-ohci.c
hw/usb-uhci.c
hw/usb-wacom.c
hw/usb.h
usb-linux.c
vl.c