usb: keep track of physical port address.
commitc7a2196a4fcdaba977b99aca0b6a6de5e5e7f64a
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 10 Dec 2010 10:37:45 +0000 (10 11:37 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Jan 2011 16:24:42 +0000 (11 17:24 +0100)
tree5067804286a0d78287d28f1443e05058387d3538
parentfa7935c1e1f84b600fcb1983485352b8d99e01d3
usb: keep track of physical port address.

Add a path string to USBPort.  Add usb_port_location() function to set
the physical location of the usb port.  Update all drivers implementing
usb ports to call it.  Update the monitor commands to print it.  Wind it
up in qdev.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-bus.c
hw/usb-hub.c
hw/usb-musb.c
hw/usb-ohci.c
hw/usb-uhci.c
hw/usb.h