summary refs log tree commit diff stats
path: root/qemu-timer.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-09-12 15:08:32 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-09-13 09:50:46 +0200
commit8f5457eb04140714eaf57a99bc08dc661d83fa87 (patch)
treec848fbef0ce485578eeb9cacf7e1f94786455485 /qemu-timer.h
parent56ab2ad177dc43d474dc0a0bd84e81ef00f31e11 (diff)
downloadfocaccia-qemu-8f5457eb04140714eaf57a99bc08dc661d83fa87.tar.gz
focaccia-qemu-8f5457eb04140714eaf57a99bc08dc661d83fa87.zip
ehci: Don't set seen to 0 when removing unseen queue-heads
When removing unseen queue-heads from the async queue list, we should not
set the seen flag to 0, as this may cause them to be removed by
ehci_queues_rip_unused() during the next call to ehci_advance_async_state()
if the timer is late or running at a low frequency.

Note:
1) This *may* have caused the instant unlink / relinks described in commit
   9bc3a3a216e2689bfcdd36c3e079333bbdbf3ba0

2) Rather then putting more if-s inside ehci_queues_rip_unused, this patch
   instead introduces a new ehci_queues_rip_unseen function.

3) This patch also makes it save to call ehci_queues_rip_unseen() multiple
   times, which gets used in the folluw up patch titled:
   "ehci: Walk async schedule before and after migration"

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qemu-timer.h')
0 files changed, 0 insertions, 0 deletions