[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 1/5] ps2: reject unknown commands, instead of blindly
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 1/5] ps2: reject unknown commands, instead of blindly accepting them |
Date: |
Wed, 28 Sep 2016 14:54:28 +0200 |
From: Hervé Poussineau <address@hidden>
Signed-off-by: Hervé Poussineau <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <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;
--
1.8.3.1
- [Qemu-devel] [PULL 0/5] input: ps2 kbd cleanups and improvements, Gerd Hoffmann, 2016/09/28
- [Qemu-devel] [PULL 1/5] ps2: reject unknown commands, instead of blindly accepting them,
Gerd Hoffmann <=
- [Qemu-devel] [PULL 2/5] ps2: correctly handle 'get/set scancode' command, Gerd Hoffmann, 2016/09/28
- [Qemu-devel] [PULL 5/5] ps2: do not generate invalid key codes for unknown keys, Gerd Hoffmann, 2016/09/28
- [Qemu-devel] [PULL 3/5] ps2: allow keycode translation for all scancode sets, Gerd Hoffmann, 2016/09/28
- [Qemu-devel] [PULL 4/5] ps2: use QEMU qcodes instead of scancodes, Gerd Hoffmann, 2016/09/28
- Re: [Qemu-devel] [PULL 0/5] input: ps2 kbd cleanups and improvements, no-reply, 2016/09/28
- Re: [Qemu-devel] [PULL 0/5] input: ps2 kbd cleanups and improvements, Peter Maydell, 2016/09/28