diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-09-10 12:44:11 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-12 08:09:49 +0200 |
commit | 8f74ed1e43263293301031a10e440549bab19a6e (patch) | |
tree | d63514e77356995891e55c9d2727bc2d25753528 /qemu-option-internal.h | |
parent | ffa1f2e088eb7e3d57f2fc35f21e7bdb23e592c5 (diff) |
ehci: Don't process too much frames in 1 timer tick (v2)
The Linux ehci isoc scheduling code fills the entire schedule ahead of
time minus 80 frames. If we make a large jump in where we are in the
schedule, ie 40 frames, then the scheduler all of a sudden will only have
40 frames left to work in, causing it to fail packet submissions
with error -27 (-EFBIG).
Changes in v2:
-Don't hardcode a maximum number of frames to process in one tick, instead:
-Process a minimum number of frames to ensure we do eventually catch up
-Stop (after the minimum number) when the guest has requested an irq
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qemu-option-internal.h')
0 files changed, 0 insertions, 0 deletions