projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc45de8
)
usb-host-libusb: set USB_DEV_FLAG_IS_HOST
author
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 12 Jun 2013 11:17:02 +0000
(13:17 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 24 Jun 2013 06:40:54 +0000
(08:40 +0200)
... like host-{linux,bsd}.c do.
Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/host-libusb.c
patch
|
blob
|
history
diff --git
a/hw/usb/host-libusb.c
b/hw/usb/host-libusb.c
index
0c12b0f
..
e2f3cc8
100644
(file)
--- a/
hw/usb/host-libusb.c
+++ b/
hw/usb/host-libusb.c
@@
-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);