Re: [Qemu-devel] [PATCH] usb: uhci: Look up queue by address, not token

2012-11-15 Thread Gerd Hoffmann
On 11/15/12 09:20, Jan Kiszka wrote: > -if (queue->token == token) { > +if (queue->qh_addr == qh_addr) { Patch added to usb patch queue. thanks, Gerd

[Qemu-devel] [PATCH] usb: uhci: Look up queue by address, not token

2012-11-15 Thread Jan Kiszka
The queue token is insufficient to identify if a TD belongs to it. What we need is the QH address. This fixes the case where the guest issues multiple asynchronous requests for the same EP. Signed-off-by: Jan Kiszka --- I'm not 100% this still fulfills the aim of "Verify queue has not been chan