[Qemu-devel] Re: [PATCH] add event queueing to USB HID

2011-01-10 Thread Paolo Bonzini
On 01/07/2011 08:59 AM, Gerd Hoffmann wrote: On 12/23/10 15:57, Paolo Bonzini wrote: The polling nature of the USB HID device makes it very hard to double click or drag while on a high-latency VNC connection. This patch, based on work done in the Xen qemu-dm tree by Ian Jackson, fixes this bug b

[Qemu-devel] Re: [PATCH] add event queueing to USB HID

2011-01-07 Thread Ian Jackson
I wrote: > Paulo: For reference, here is a diff of the relevant functionality. > It's against qemu 0.10.0 (ish) but it may be a better starting point > than what you used. I just had a go at seeing how that applies to current upstream master and it doesn't look like it would be hard to fix up. Ia

[Qemu-devel] Re: [PATCH] add event queueing to USB HID

2011-01-07 Thread Ian Jackson
Gerd Hoffmann writes ("Re: [PATCH] add event queueing to USB HID"): > On 12/23/10 15:57, Paolo Bonzini wrote: > > @@ -68,7 +77,7 @@ typedef struct USBHIDState { > > int protocol; > > uint8_t idle; > > int64_t next_idle_clock; > > -int changed; > > +int have_data, changed;

[Qemu-devel] Re: [PATCH] add event queueing to USB HID

2011-01-06 Thread Gerd Hoffmann
On 12/23/10 15:57, Paolo Bonzini wrote: The polling nature of the USB HID device makes it very hard to double click or drag while on a high-latency VNC connection. This patch, based on work done in the Xen qemu-dm tree by Ian Jackson, fixes this bug by adding an event queue to the device. The e

[Qemu-devel] Re: [PATCH] add event queueing to USB HID

2011-01-05 Thread Stefano Stabellini
On Thu, 23 Dec 2010, Paolo Bonzini wrote: > The polling nature of the USB HID device makes it very hard to double > click or drag while on a high-latency VNC connection. This patch, > based on work done in the Xen qemu-dm tree by Ian Jackson, fixes this > bug by adding an event queue to the device