summary refs log tree commit diff stats
path: root/qemu-timer.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-09-12 15:08:35 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-09-13 09:50:46 +0200
commit9a8d4067a63702dfb62d0ae3399600a853ad5daa (patch)
treeb774ca3b114508f443163f46e174740fda6ccf48 /qemu-timer.h
parent8e60452a954978f2f52026aa5f5cfd948e4e2be0 (diff)
downloadfocaccia-qemu-9a8d4067a63702dfb62d0ae3399600a853ad5daa.tar.gz
focaccia-qemu-9a8d4067a63702dfb62d0ae3399600a853ad5daa.zip
usb-redir: Add an already_in_flight packet-id queue
After a live migration, the usb-hcd will re-queue all packets by
walking over the schedule in the guest memory again, but requests which
were encountered on the migration source before will already be in flight,
so these should *not* be re-send to the usbredir-host.

This patch adds an already in flight packet ud queue, which will be filled by
the source before migration and then moved over to the migration dest, any
async handled packets are then checked against this queue to avoid sending
the same packet to the usbredir-host twice.

Signed-off-by: Hans de Goede <hdegoede@redhat,com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qemu-timer.h')
0 files changed, 0 insertions, 0 deletions