Re: [Qemu-devel] [PATCH v2 1/1] genius: add genius serial mouse emulation

2014-01-18 Thread Romain Naour
Hi, [snip] +int dx; +int dy; +int button; +struct QEMUTimer *transmit_timer; /* QEMU timer */ +uint64_t transmit_time; /* time to transmit a char in ticks */ +unsigned char data[5]; +int index; +} gnmouse_save; How does all this state get migrated at VM mig

Re: [Qemu-devel] [PATCH v2 1/1] genius: add genius serial mouse emulation

2014-01-16 Thread Romain Naour
Hi, Le 14/01/2014 23:46, Peter Maydell a écrit : It might be helpful to note why we should care, ie if there are any particularly interesting guests which can only deal with this and not the MS mouse protocol, or if there are mouse features you can only get support for with this protocol. I wor

Re: [Qemu-devel] [PATCH v2 1/1] genius: add genius serial mouse emulation

2014-01-14 Thread Peter Maydell
On 14 January 2014 22:05, Romain Naour wrote: > This patch adds the emulation for a serial Genius mouse using > Mouse Systems protocol (5bytes). > This protocol is compatible with most 3-button serial mouse. "mice". It might be helpful to note why we should care, ie if there are any particularly

[Qemu-devel] [PATCH v2 1/1] genius: add genius serial mouse emulation

2014-01-14 Thread Romain Naour
This patch adds the emulation for a serial Genius mouse using Mouse Systems protocol (5bytes). This protocol is compatible with most 3-button serial mouse. Signed-off-by: Romain Naour --- Changes v1 -> v2: Fixes documentation (Paolo Bonzini) Fixes typos backends/Makefile.objs | 2 +- backen