aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/host-linux.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-12-10 08:31:19 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2012-12-10 08:31:19 -0600
commitc62adbee15deae473aa02a37193ddd6b054b0c9f (patch)
tree2fe14356f97cd7e3f989b992eacee7adade60414 /hw/usb/host-linux.c
parente49d021e574c3ee8e443bcc84d1fb7dfb4c87c42 (diff)
parent427e3aa151c749225364d0c30640e2e3c1756d9d (diff)
downloadqemu-c62adbee15deae473aa02a37193ddd6b054b0c9f.zip
qemu-c62adbee15deae473aa02a37193ddd6b054b0c9f.tar.gz
qemu-c62adbee15deae473aa02a37193ddd6b054b0c9f.tar.bz2
Merge remote-tracking branch 'kraxel/usb.74' into staging
* kraxel/usb.74: usb-tablet: Allow connecting to ehci ehci: Lower timer freq when the periodic schedule is idle usb: Allow overriding of usb_desc at the device level usb: Don't allow USB_RET_ASYNC for interrupt packets usb: Call wakeup when data becomes available for all devices with int eps add pc-1.4 Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/usb/host-linux.c')
-rw-r--r--hw/usb/host-linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/host-linux.c b/hw/usb/host-linux.c
index aa77b77..bdafb6b 100644
--- a/hw/usb/host-linux.c
+++ b/hw/usb/host-linux.c
@@ -1476,6 +1476,7 @@ static int usb_host_initfn(USBDevice *dev)
{
USBHostDevice *s = DO_UPCAST(USBHostDevice, dev, dev);
+ dev->flags |= (1 << USB_DEV_FLAG_IS_HOST);
dev->auto_attach = 0;
s->fd = -1;
s->hub_fd = -1;