]> git.proxmox.com Git - qemu.git/commit - usb-linux.c
usb: track configuration and interface count in USBDevice.
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Aug 2011 09:11:29 +0000 (11:11 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 13 Jan 2012 09:25:44 +0000 (10:25 +0100)
commit65360511a2eeab8b671722df6634dd674cc4a5d6
tree4a38c1dd1b525f2700d9458b40c71e83a1728bf9
parent097db4384860b4363364eb531285296f616d89e5
usb: track configuration and interface count in USBDevice.

Move fields from USBHostDevice to USBDevice.
Add bits to usb-desc.c to fill them for emulated devices too.
Also allow to set configuration 0 (== None) for emulated devices.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-desc.c
hw/usb.h
usb-linux.c