Hans de Goede 3905097ea8 uhci: Always mark a queue valid when we encounter it
Before this patch we would not mark a queue valid when its head was a
non-active td. This causes us to misbehave in the following scenario:

1) queue with multiple input transfers queued
2) We hit some latency issue, causing qemu to get behind processing frames
3) When qemu gets to run again, it notices the first transfer ends short,
   marking the head td non-active
4) It now processes 32+ frames in a row without giving the guest a chance
   to run since it is behind
5) valid is decreased to 0, causing the queue to get cancelled also cancelling
   already queued up further input transfers
6) guest gets to run, notices the inactive td, cleanups up further tds
   from the short transfer, and lets the queue continue at the first td of
   the next input transfer
7) we re-start the queue, issuing the second input transfer for the *second*
   time, and any data read by the first time we issued it has been lost

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2012-10-25 09:08:12 +02:00
2012-10-22 13:26:42 -05:00
2012-10-22 13:26:42 -05:00
2012-10-01 08:04:22 -05:00
2012-10-05 15:10:21 +02:00
2012-10-19 20:40:21 +02:00
2012-09-07 09:02:44 +03:00
2012-10-05 16:07:49 -05:00
2012-09-28 19:40:56 +02:00
2012-09-28 19:40:56 +02:00
2012-10-05 15:10:21 +02:00
2012-09-28 19:40:56 +02:00
2012-09-28 19:40:56 +02:00
2012-09-05 15:48:57 -03:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-17 18:35:00 +02:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-05 08:02:30 -05:00
2012-09-15 15:34:27 +00:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-09-05 15:48:57 -03:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-09-22 17:59:12 +00:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-09-28 12:16:27 +02:00
2012-09-28 12:16:27 +02:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-05 16:07:49 -05:00
2012-10-05 16:07:49 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-09-19 15:26:31 +02:00
2012-10-05 15:10:21 +02:00
2012-09-28 19:40:56 +02:00
2012-09-26 12:42:19 -03:00
2012-10-06 18:47:04 +02:00
2012-09-28 17:51:47 +02:00
2012-09-28 17:51:47 +02:00
2012-09-05 11:44:53 -05:00
2012-09-10 13:52:28 -05:00
2012-10-23 08:58:25 -05:00
2012-10-03 13:48:45 +00: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%