Volker Rümelin f6f57a8298 pckbd: correctly disable PS/2 communication
Currently the PS/2 controller command KBD_CCMD_MOUSE_DISABLE
doesn't disable the PS/2 mouse communication at all, and the
PS/2 controller commands KBD_CCMD_KBD_DISABLE and
KBD_CCMD_KBD_ENABLE only disable and enable the keyboard
interrupt, which is very different from what a real PS/2
controller does. A guest may notice the difference.

Mask out pending data on disabled queues to correctly disable
the PS/2 controller communication.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20210525181441.27768-10-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2021-05-26 11:32:20 +02:00
..
2021-05-12 18:20:25 +02:00
2021-05-19 16:10:35 +01:00
2021-05-13 20:13:24 +01:00
2021-05-12 18:20:25 +02:00
2021-05-12 18:20:52 +02:00
2021-05-17 16:44:47 +01:00
2021-05-14 14:26:23 +01:00
2021-05-05 20:29:14 +01:00
2021-05-17 16:44:47 +01:00
2021-05-12 18:20:52 +02:00
2021-05-16 17:22:46 +01:00
2021-05-19 10:30:28 +10:00
2021-05-11 20:02:07 +10:00
2021-05-12 18:20:25 +02:00
2021-05-10 12:34:05 +01:00
2021-05-10 12:34:05 +01:00
2021-05-05 13:52:00 +01:00
2021-05-12 18:20:25 +02:00
2020-08-21 06:30:33 -04:00