projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60f8afc
)
uhci: cancel on schedule stop.
author
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 8 Mar 2012 12:37:52 +0000
(13:37 +0100)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 13 Mar 2012 09:15:32 +0000
(10:15 +0100)
Cancel any in-flight transaction when the guest stops the uhci schedule.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-uhci.c
patch
|
blob
|
history
diff --git
a/hw/usb/hcd-uhci.c
b/hw/usb/hcd-uhci.c
index 416f7034b8d46653b40d3272e8cd66a63b5a8bcf..5177e33c375eebf264a3a736997e0cf484abe04c 100644
(file)
--- a/
hw/usb/hcd-uhci.c
+++ b/
hw/usb/hcd-uhci.c
@@
-1126,6
+1126,7
@@
static void uhci_frame_timer(void *opaque)
if (!(s->cmd & UHCI_CMD_RS)) {
/* Full stop */
qemu_del_timer(s->frame_timer);
+ uhci_async_cancel_all(s);
/* set hchalted bit in status - UHCI11D 2.1.2 */
s->status |= UHCI_STS_HCHALTED;