diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2012-09-12 15:08:32 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-13 09:50:46 +0200 |
| commit | 8f5457eb04140714eaf57a99bc08dc661d83fa87 (patch) | |
| tree | c848fbef0ce485578eeb9cacf7e1f94786455485 /qemu-timer.h | |
| parent | 56ab2ad177dc43d474dc0a0bd84e81ef00f31e11 (diff) | |
| download | focaccia-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