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:
ff74c5a
)
usb-hub: wakeup on attach
author
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 14 Oct 2011 09:36:43 +0000
(11:36 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 1 Nov 2011 12:40:33 +0000
(13:40 +0100)
When attaching a new device we must send a wakeup request to the root
hub, otherwise the guest will not notice the new device in case the
usb hub is suspended.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-hub.c
patch
|
blob
|
history
diff --git
a/hw/usb-hub.c
b/hw/usb-hub.c
index
09c6516
..
7b47079
100644
(file)
--- a/
hw/usb-hub.c
+++ b/
hw/usb-hub.c
@@
-163,6
+163,7
@@
static void usb_hub_attach(USBPort *port1)
} else {
port->wPortStatus &= ~PORT_STAT_LOW_SPEED;
}
+ usb_wakeup(&s->dev);
}
static void usb_hub_detach(USBPort *port1)