Re: [Qemu-devel] Re: UHCI idle detection

2011-01-04 Thread Alexander Graf
On 04.01.2011, at 15:22, Anthony Liguori wrote: > On 01/04/2011 08:16 AM, Gerd Hoffmann wrote: >> On 01/04/11 14:49, Anthony Liguori wrote: >>> On 01/04/2011 07:43 AM, Gerd Hoffmann wrote: Hi, >> Windows guests needs some registry hackery and Linux guests some >> udev rules >>>

[Qemu-devel] Re: UHCI idle detection

2011-01-04 Thread Anthony Liguori
On 01/04/2011 08:16 AM, Gerd Hoffmann wrote: On 01/04/11 14:49, Anthony Liguori wrote: On 01/04/2011 07:43 AM, Gerd Hoffmann wrote: Hi, Windows guests needs some registry hackery and Linux guests some udev rules to enable remote wakeup permanently. That commit inspired me to look at UHCI. I

[Qemu-devel] Re: UHCI idle detection

2011-01-04 Thread Gerd Hoffmann
On 01/04/11 14:49, Anthony Liguori wrote: On 01/04/2011 07:43 AM, Gerd Hoffmann wrote: Hi, Windows guests needs some registry hackery and Linux guests some udev rules to enable remote wakeup permanently. That commit inspired me to look at UHCI. If the solution requires modifying the guest th

[Qemu-devel] Re: UHCI idle detection

2011-01-04 Thread Anthony Liguori
On 01/04/2011 07:43 AM, Gerd Hoffmann wrote: Hi, Windows guests needs some registry hackery and Linux guests some udev rules to enable remote wakeup permanently. That commit inspired me to look at UHCI. If the solution requires modifying the guest then it is not widely useful. Well, lon

[Qemu-devel] Re: UHCI idle detection

2011-01-04 Thread Gerd Hoffmann
Hi, Windows guests needs some registry hackery and Linux guests some udev rules to enable remote wakeup permanently. That commit inspired me to look at UHCI. If the solution requires modifying the guest then it is not widely useful. Well, long-term this shouldn't be a big issue. I expect

[Qemu-devel] Re: UHCI idle detection

2011-01-04 Thread Stefan Hajnoczi
On Tue, Jan 4, 2011 at 12:13 PM, Gerd Hoffmann wrote: > On 01/04/11 12:48, Stefan Hajnoczi wrote: >> >> CPU utilization is a known issue with UHCI emulation.  I spent a short >> time poking around the code and USB specifications trying to come up >> with a way to detect "idle" periods where we don

[Qemu-devel] Re: UHCI idle detection

2011-01-04 Thread Gerd Hoffmann
On 01/04/11 12:48, Stefan Hajnoczi wrote: CPU utilization is a known issue with UHCI emulation. I spent a short time poking around the code and USB specifications trying to come up with a way to detect "idle" periods where we don't need to poll the frame list at 1000 Hz. Check out http://cgit