]> git.proxmox.com Git - mirror_qemu.git/commit
xhci: use slotid as device address
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 21 Mar 2013 09:59:05 +0000 (10:59 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 16 Apr 2013 10:04:09 +0000 (12:04 +0200)
commitaf203be36deb234550c3c8d2cbafbaef0f08ae1b
treeff7d416b20b92dcc90963667a26c42cdb500305e
parentbdfce20df113522f389b4483ffd9d5b336e3c774
xhci: use slotid as device address

Is good enougth for unique device addresses and avoids the need for any
state for device addressing.  Makes live migration support easier.  Also
makes device->slot lookups trivial.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c