projects
/
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 09c65160c2d9c27d7353dac259293ed9e8ebe066..7b47079ac4dcb3e1f1c949db226ad019e426857c 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)