From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkcw8-0006na-7D for qemu-devel@nongnu.org; Thu, 15 Sep 2016 16:07:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkcw2-00038X-TT for qemu-devel@nongnu.org; Thu, 15 Sep 2016 16:07:06 -0400 Received: from smtp2-g21.free.fr ([212.27.42.2]:46694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkcw2-00037i-LV for qemu-devel@nongnu.org; Thu, 15 Sep 2016 16:07:02 -0400 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Thu, 15 Sep 2016 22:06:23 +0200 Message-Id: <1473969987-5890-2-git-send-email-hpoussin@reactos.org> In-Reply-To: <1473969987-5890-1-git-send-email-hpoussin@reactos.org> References: <1473969987-5890-1-git-send-email-hpoussin@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v2 1/5] ps2: reject unknown commands, instead of blindly accepting them List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Gerd Hoffmann , =?UTF-8?q?Herv=C3=A9=20Poussineau?= Signed-off-by: Herv=C3=A9 Poussineau --- hw/input/ps2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/input/ps2.c b/hw/input/ps2.c index a8aa36f..00a1792 100644 --- a/hw/input/ps2.c +++ b/hw/input/ps2.c @@ -290,7 +290,7 @@ void ps2_write_keyboard(void *opaque, int val) ps2_queue(&s->common, KBD_REPLY_POR); break; default: - ps2_queue(&s->common, KBD_REPLY_ACK); + ps2_queue(&s->common, KBD_REPLY_RESEND); break; } break; --=20 2.1.4