Cao,Bing Bu 7279a85f37 Fix parse of usb device description with multiple configurations
Changed From V1:
Use DPRINTF instead of fprintf,because it is not an error.

When testing ipod on QEMU by He Jie Xu<xuhj@linux.vnet.ibm.com>,qemu made a assertion.
We found that the ipod with 2 configurations,and the usb-linux did not parse the descriptor correctly.
The descr_len returned is the total length of the all configurations,not one configuration.
The older version will through the other configurations instead of skip,continue parsing the descriptor of interfaces/endpoints in other configurations,then went wrong.

This patch will put the configuration descriptor parse in loop outside and dispel the other configurations not requested.

Signed-off-by: Cao,Bing Bu <mars@linux.vnet.ibm.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2012-01-04 11:56:39 +01:00
2011-12-22 11:53:58 +01:00
2011-12-06 11:40:00 -02:00
2011-12-02 10:50:57 +00:00
2011-12-06 11:40:01 -02:00
2011-12-06 11:40:01 -02:00
2011-12-15 12:40:08 +01:00
2011-12-15 12:40:33 +01:00
2011-12-06 11:40:00 -02:00
2012-01-03 19:19:27 +02:00
2011-12-15 09:20:50 -06:00
2011-12-15 09:20:50 -06:00
2011-12-02 10:50:57 +00:00
2012-01-03 19:19:28 +02:00
2011-12-06 11:40:01 -02:00
2011-12-06 11:40:01 -02:00
2011-12-02 10:50:57 +00:00
2011-12-09 11:25:22 +00:00
2011-12-02 10:50:57 +00:00
2011-12-22 11:53:59 +01:00
2012-01-03 19:19:27 +02:00
2011-12-06 11:40:01 -02:00
2011-12-22 11:53:59 +01:00
2011-12-22 11:53:59 +01:00
2011-12-06 11:40:01 -02:00
2011-12-06 11:40:01 -02:00
2011-12-22 11:53:58 +01:00
2011-12-15 12:40:07 +01:00
2011-12-02 10:50:57 +00:00
2011-12-15 09:20:50 -06:00
2011-12-15 09:20:50 -06:00
2011-12-06 10:07:04 +00:00
2011-12-11 17:50:43 -06:00
2011-12-15 12:40:33 +01:00
2011-12-22 14:53:01 -02:00
2012-01-03 19:19:22 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%