usb-host: wait for cancel complete
commit76d0a9362c6a6a7d88aa18c84c4186c9107ecaef
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 3 Feb 2020 11:41:08 +0000 (3 12:41 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Feb 2020 16:20:31 +0000 (12 17:20 +0100)
tree72177d03eae242347501f69060e319ed907a4f6d
parente18e5501d8ac692d32657a3e1ef545b14e72b730
usb-host: wait for cancel complete

After canceling transfers call into libvirt so it can process the
request, and wait for it to complete.  Also cancel all pending
transfers before exiting qemu.

Buglink: https://bugzilla.redhat.com//show_bug.cgi?id=1749745
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200203114108.23952-1-kraxel@redhat.com
hw/usb/host-libusb.c