|
From: | Gerd Hoffmann |
Subject: | [Qemu-devel] Re: [patch 2/2] support for UHCI suspend / remote wake up |
Date: | Wed, 01 Dec 2010 18:17:47 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100827 Red Hat/3.1.3-1.el6 Thunderbird/3.1.3 |
I was seeing bus disconnects when not clearing port resume bit properly.port->ctrl&= ~(val& 0x000a); + port->ctrl&= ~(port->ctrl& 0x0040); /* clear port resume detected */ }This chunk looks suspicious ... I suspect the port suspend/resume emulation isn't complete.
The bug is that the port resume bit is masked out from guest writes, so the guest hasn't a chance to clear it ...
cheers, Gerd PS: http://cgit.freedesktop.org/spice/qemu/log/?h=usb.1
[Prev in Thread] | Current Thread | [Next in Thread] |