mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00: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:
parent
bc45de8c21
commit
628e54857a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user