commit | eb7700bb999544151d6e4350362b9b6d9d20abe8 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Wed Aug 24 14:45:07 2011 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Wed Sep 07 09:50:49 2011 +0200 |
tree | 5d7c75d2495ed63a59461cfaef8c9bb409399062 | |
parent | 3ee886c5ba77a65d6b2c2a372a091d6796ed502b [diff] |
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>