]> git.proxmox.com Git - qemu.git/commit
usb-host: fix configuration tracking.
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 24 Aug 2011 12:45:07 +0000 (14:45 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 7 Sep 2011 07:50:49 +0000 (09:50 +0200)
commiteb7700bb999544151d6e4350362b9b6d9d20abe8
tree5d7c75d2495ed63a59461cfaef8c9bb409399062
parent3ee886c5ba77a65d6b2c2a372a091d6796ed502b
usb-host: fix configuration tracking.

It is perfectly fine to leave the usb device in unconfigured state
(USBHostDevice->configuration == 0).  Just do that and wait for the
guest to explicitly set a configuration.  This is closer to what real
hardware does and it also simplifies the device initialization.  There
is no need to figure how the device is configured on the host.

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