qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Re: [Qemu-devel] QEMU keyboard issue with Gujin-2.2


From: Avi Kivity
Subject: Re: [PATCH] Re: [Qemu-devel] QEMU keyboard issue with Gujin-2.2
Date: Tue, 18 Dec 2007 17:57:01 +0200
User-agent: Thunderbird 2.0.0.9 (X11/20071115)

Etienne Lorrain wrote:
  Hello,

 I have digged further my problem of keyboard problem when the mouse is 
activated
using qemu (i.e. dummy char present in the keyboard buffer), and can say that
this patch solves completely the problem:
--------------------
$ diff -urp qemu-0.9.0-init qemu-0.9.0
diff -urp qemu-0.9.0-init/hw/pckbd.c qemu-0.9.0/hw/pckbd.c
--- qemu-0.9.0-init/hw/pckbd.c  2007-02-05 23:01:54.000000000 +0000
+++ qemu-0.9.0/hw/pckbd.c       2007-10-16 20:32:40.000000000 +0100
@@ -202,7 +202,7 @@ static void kbd_write_command(void *opaq
 #endif
     switch(val) {
     case KBD_CCMD_READ_MODE:
-        kbd_queue(s, s->mode, 0);
+        kbd_queue(s, s->mode, 1);
         break;
     case KBD_CCMD_WRITE_MODE:
     case KBD_CCMD_WRITE_OBUF:

This patch (which is present in qemu-cvs) kills the mouse in suse linux 9.1.

--
error compiling committee.c: too many arguments to function





reply via email to

[Prev in Thread] Current Thread [Next in Thread]