mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
usb-host-libusb: set USB_DEV_FLAG_IS_HOST
... like host-{linux,bsd}.c do.
Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
@@ -895,6 +895,7 @@ static int usb_host_initfn(USBDevice *udev)
|
||||
USBHostDevice *s = USB_HOST_DEVICE(udev);
|
||||
|
||||
loglevel = s->loglevel;
|
||||
udev->flags |= (1 << USB_DEV_FLAG_IS_HOST);
|
||||
udev->auto_attach = 0;
|
||||
QTAILQ_INIT(&s->requests);
|
||||
QTAILQ_INIT(&s->isorings);
|
||||
|
||||
Reference in New Issue
Block a user