Re: [Qemu-devel] uhci: cancel delay for unregistered queues

2013-04-25 Thread Hans de Goede
Hi, On 02/14/2013 01:23 PM, Gerd Hoffmann wrote: Hi, The only fix I can think of is allocating a receive buffer inside the UHCI code for read transfers, and copy the result over to the guest memory when we are re-scanning the schedule, encounter the completed td and are going to signal its

Re: [Qemu-devel] uhci: cancel delay for unregistered queues

2013-02-14 Thread Hans de Goede
Hi, On 02/14/2013 01:23 PM, Gerd Hoffmann wrote: Hi, The only fix I can think of is allocating a receive buffer inside the UHCI code for read transfers, and copy the result over to the guest memory when we are re-scanning the schedule, encounter the completed td and are going to signal its

Re: [Qemu-devel] uhci: cancel delay for unregistered queues

2013-02-14 Thread Gerd Hoffmann
Hi, >> The only fix I can think of is allocating a receive buffer inside >> the UHCI code for read transfers, and copy the result over to the >> guest memory when we are re-scanning the schedule, encounter the >> completed td and are going to signal its completion to the guest. > I could take a

Re: [Qemu-devel] uhci: cancel delay for unregistered queues

2013-02-14 Thread Hans de Goede
Hi, On 02/12/2013 11:01 PM, Hans de Goede wrote: Hi, On 02/12/2013 05:46 PM, Gerd Hoffmann wrote: On 02/12/13 15:38, Jan Kiszka wrote: Hi, was just debugging a memory corruption of my USB driver inside QEMU - and so far only there: I have a queue registered with the UHCI controller on an in

Re: [Qemu-devel] uhci: cancel delay for unregistered queues

2013-02-12 Thread Hans de Goede
Hi, On 02/12/2013 05:46 PM, Gerd Hoffmann wrote: On 02/12/13 15:38, Jan Kiszka wrote: Hi, was just debugging a memory corruption of my USB driver inside QEMU - and so far only there: I have a queue registered with the UHCI controller on an input endpoint that continuously generates data. At s

Re: [Qemu-devel] uhci: cancel delay for unregistered queues

2013-02-12 Thread Gerd Hoffmann
On 02/12/13 15:38, Jan Kiszka wrote: > Hi, > > was just debugging a memory corruption of my USB driver inside QEMU - > and so far only there: > > I have a queue registered with the UHCI controller on an input endpoint > that continuously generates data. At some point my driver decides to > stop r

[Qemu-devel] uhci: cancel delay for unregistered queues

2013-02-12 Thread Jan Kiszka
Hi, was just debugging a memory corruption of my USB driver inside QEMU - and so far only there: I have a queue registered with the UHCI controller on an input endpoint that continuously generates data. At some point my driver decides to stop reading and removes the QH (with a lot of TDs attached