qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 1/5] ps2: reject unknown commands, instead of bli


From: Hervé Poussineau
Subject: [Qemu-devel] [PATCH v2 1/5] ps2: reject unknown commands, instead of blindly accepting them
Date: Thu, 15 Sep 2016 22:06:23 +0200

Signed-off-by: Hervé Poussineau <address@hidden>
---
 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;
-- 
2.1.4




reply via email to

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