qdev/usb: add usb bus support to qdev, convert drivers.
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 31 Aug 2009 12:23:59 +0000 (14:23 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 9 Sep 2009 19:55:17 +0000 (14:55 -0500)
commit806b60248218bd5f74a8b070f5a99a864e8e51c6
treeef5ebf0b2f0aebb33cfbb6a3c7b58de8092a079c
parent755700885432a8692c53549dd177d7d52d5cdd17
qdev/usb: add usb bus support to qdev, convert drivers.

* Add USBBus.
 * Add USBDeviceInfo, move device callbacks here.
 * Add usb-qdev helper functions.
 * Switch drivers to qdev.

TODO:
 * make the rest of qemu aware of usb busses and kill the FIXMEs
   added by this patch.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
17 files changed:
Makefile
hw/bt-hid.c
hw/usb-bt.c
hw/usb-bus.c [new file with mode: 0644]
hw/usb-hid.c
hw/usb-hub.c
hw/usb-msd.c
hw/usb-musb.c
hw/usb-net.c
hw/usb-ohci.c
hw/usb-serial.c
hw/usb-uhci.c
hw/usb-wacom.c
hw/usb.c
hw/usb.h
usb-linux.c
vl.c