Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJbGY-0005PB-7W for qemu-devel@nongnu.org; Thu, 17 Jul 2008 17:43:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJbGO-0005Or-C2 for qemu-devel@nongnu.org; Thu, 17 Jul 2008 17:43:57 -0400 Received: from [199.232.76.173] (port=50094 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJbGO-0005Oo-4b for qemu-devel@nongnu.org; Thu, 17 Jul 2008 17:43:48 -0400 Received: from smtp4-g19.free.fr ([212.27.42.30]:49479) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJbGN-0003rc-Kq for qemu-devel@nongnu.org; Thu, 17 Jul 2008 17:43:48 -0400 From: Even Rouault Subject: Re: [Qemu-devel] [PATCH 4/6] kvm: qemu: revert ""QEMU keyboard issue with Gujin-2.2", by Etienne Lorrain." Date: Thu, 17 Jul 2008 23:43:27 +0200 References: <1216329580-20804-1-git-send-email-aliguori@us.ibm.com> <1216329580-20804-4-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1216329580-20804-4-git-send-email-aliguori@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200807172343.28260.even.rouault@mines-paris.org> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori This revert should also fix the issue with the PS/2 mouse in FC4 I've=20 previously raised in that thread :=20 http://lists.gnu.org/archive/html/qemu-devel/2008-01/msg00548.html Le Thursday 17 July 2008 23:19:38 Anthony Liguori, vous avez =C3=A9crit=C2= =A0: > From: Avi Kivity > > This reverts commit 450f6dc8f7bdb183d64d81b4eef89049ea9e9259, which kills > the mouse in SuSE Linux 9.1. > > Signed-off-by: Avi Kivity > Signed-off-by: Anthony Liguori > > diff --git a/hw/pckbd.c b/hw/pckbd.c > index 266c7f9..46d9b9d 100644 > --- a/hw/pckbd.c > +++ b/hw/pckbd.c > @@ -211,7 +211,7 @@ static void kbd_write_command(void *opaque, uint32_t > addr, uint32_t val) #endif > switch(val) { > case KBD_CCMD_READ_MODE: > - kbd_queue(s, s->mode, 1); > + kbd_queue(s, s->mode, 0); > break; > case KBD_CCMD_WRITE_MODE: > case KBD_CCMD_WRITE_OBUF: