From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJay1-00056k-R8 for qemu-devel@nongnu.org; Thu, 17 Jul 2008 17:24:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJay0-00056D-9M for qemu-devel@nongnu.org; Thu, 17 Jul 2008 17:24:49 -0400 Received: from [199.232.76.173] (port=37562 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJaxz-000560-V9 for qemu-devel@nongnu.org; Thu, 17 Jul 2008 17:24:48 -0400 Received: from e4.ny.us.ibm.com ([32.97.182.144]:41348) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KJaxz-0005fO-Po for qemu-devel@nongnu.org; Thu, 17 Jul 2008 17:24:48 -0400 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e4.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m6HLK8GD020518 for ; Thu, 17 Jul 2008 17:20:08 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m6HLK87p189086 for ; Thu, 17 Jul 2008 17:20:08 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m6HLK8sB024868 for ; Thu, 17 Jul 2008 17:20:08 -0400 From: Anthony Liguori Date: Thu, 17 Jul 2008 16:19:38 -0500 Message-Id: <1216329580-20804-4-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1216329580-20804-1-git-send-email-aliguori@us.ibm.com> References: <1216329580-20804-1-git-send-email-aliguori@us.ibm.com> Subject: [Qemu-devel] [PATCH 4/6] kvm: qemu: revert ""QEMU keyboard issue with Gujin-2.2", by Etienne Lorrain." 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 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: