[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/9] usb-ehci: Fix an assert whenever isoc transfers
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 4/9] usb-ehci: Fix an assert whenever isoc transfers are used |
Date: |
Mon, 9 Jul 2012 12:20:28 +0200 |
From: Hans de Goede <address@hidden>
hcd-ehci.c is missing an usb_packet_init() call for the ipacket UsbPacket
it uses for isoc transfers, triggering an assert (taking the entire vm down)
in usb_packet_setup as soon as any isoc transfers are done by a high speed
USB device.
Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/usb/hcd-ehci.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c
index 0bdfbe8..f612610 100644
--- a/hw/usb/hcd-ehci.c
+++ b/hw/usb/hcd-ehci.c
@@ -2581,6 +2581,7 @@ static int usb_ehci_initfn(PCIDevice *dev)
s->async_bh = qemu_bh_new(ehci_async_bh, s);
QTAILQ_INIT(&s->aqueues);
QTAILQ_INIT(&s->pqueues);
+ usb_packet_init(&s->ipacket);
qemu_register_reset(ehci_reset, s);
--
1.7.1
- [Qemu-devel] [PULL 0/9] usb patch queue, Gerd Hoffmann, 2012/07/09
- [Qemu-devel] [PATCH] usb: split endpoint init and reset, Gerd Hoffmann, 2012/07/09
- [Qemu-devel] [PATCH 5/9] ehci: Kick async schedule on wakeup in the non companion case, Gerd Hoffmann, 2012/07/09
- [Qemu-devel] [PATCH 9/9] usb-host: add trace events for iso xfers, Gerd Hoffmann, 2012/07/09
- [Qemu-devel] [PATCH 1/9] ehci: fix ehci_qh_do_overlay, Gerd Hoffmann, 2012/07/09
- [Qemu-devel] [PATCH 7/9] usb: split endpoint init and reset, Gerd Hoffmann, 2012/07/09
- [Qemu-devel] [PATCH 6/9] usb-redir: Correctly handle the usb_redir_babble usbredir status, Gerd Hoffmann, 2012/07/09
- [Qemu-devel] [PATCH 4/9] usb-ehci: Fix an assert whenever isoc transfers are used,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 8/9] usb: fix interface initialization, Gerd Hoffmann, 2012/07/09
- [Qemu-devel] [PATCH 3/9] ehci: don't flush cache on doorbell rings., Gerd Hoffmann, 2012/07/09
- [Qemu-devel] [PATCH 2/9] ehci: fix td writeback, Gerd Hoffmann, 2012/07/09
- Re: [Qemu-devel] [PULL 0/9] usb patch queue, Anthony Liguori, 2012/07/09