Re: [Qemu-devel] [PATCH] ps2: migrate ledstate

2011-10-13 Thread Gerd Hoffmann
Hi, One thing that could be improved after this patch is that the ledstate is now present both in spice-input and hw/ps2.c, but I couldn't find an easy way to get the ps2 ledstate from spice-input so I left things this way for now. Directly linking ps/2 and spice-input would be wrong anyway

[Qemu-devel] [PATCH] ps2: migrate ledstate

2011-10-12 Thread Christophe Fergeau
Make the ps2 device track its ledstate so that we can migrate it. Otherwise it gets lost across migration, and spice-server gets confused about the actual keyboard state and sends bogus caps/scroll/num key events. Signed-off-by: Christophe Fergeau cferg...@redhat.com --- hw/ps2.c | 13

Re: [Qemu-devel] [PATCH] ps2: migrate ledstate

2011-10-12 Thread Anthony Liguori
On 10/12/2011 11:35 AM, Christophe Fergeau wrote: Make the ps2 device track its ledstate so that we can migrate it. Otherwise it gets lost across migration, and spice-server gets confused about the actual keyboard state and sends bogus caps/scroll/num key events. Signed-off-by: Christophe

Re: [Qemu-devel] [PATCH] ps2: migrate ledstate

2011-10-12 Thread Christophe Fergeau
Hey, On Wed, Oct 12, 2011 at 06:35:28PM +0200, Christophe Fergeau wrote: Make the ps2 device track its ledstate so that we can migrate it. Otherwise it gets lost across migration, and spice-server gets confused about the actual keyboard state and sends bogus caps/scroll/num key events. This