usb-host: wire up timer for windows
commit663fdc815ed427219f540d3c96ba8e2399cfba96
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 23 Jun 2021 08:52:48 +0000 (23 10:52 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 29 Jul 2021 09:18:24 +0000 (29 11:18 +0200)
treea174f75e4c59b41f79068dc8041f8fecc20fdb5d
parentf2da205cb4142259d9bc6b9d4596ebbe2426fe49
usb-host: wire up timer for windows

On windows we can't wait on file descriptors.
Poll libusb using a timer instead.

Fixes long-standing FIXME.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/431
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20210623085249.1151901-2-kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/host-libusb.c