uhci: Detect guest td re-use
commit8c75a899f85dda9f8305d25f0cc453a79115fd90
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Oct 2012 16:31:16 +0000 (24 18:31 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 25 Oct 2012 07:08:11 +0000 (25 09:08 +0200)
treea8674092985cb195170f98fede4e532b6be2cd59
parent66a08cbe6ad1aebec8eecf58b3ba042e19dd1649
uhci: Detect guest td re-use

A td can be reused by the guest in a different queue, before we notice
the original queue has been unlinked. So search for tds by addr only, detect
guest td reuse, and cancel the original queue, this is necessary to keep our
packet ids unique.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-uhci.c