qemu-e2k/hw
Geoffrey McRae 7abe7eb294 ps2: Fix mouse stream corruption due to lost data
This fixes an issue by adding bounds checking to multi-byte packets
where the PS/2 mouse data stream may become corrupted due to data being
discarded when the PS/2 ringbuffer is full.

Interrupts for Multi-byte responses are postponed until the final byte
has been queued.

These changes fix a bug where windows guests drop the mouse device
entirely requring the guest to be restarted.

Signed-off-by: Geoffrey McRae <geoff@hostfission.com>
Message-Id: <20180507150310.2FEA0381924@moya.office.hostfission.com>

[ kraxel: codestyle fixes ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2018-05-15 11:31:33 +02:00
..
9pfs 9p: add trace event for v9fs_setattr() 2018-05-02 08:59:24 +02:00
acpi
adc
alpha
arm make sure that we aren't overwriting mc->get_hotplug_handler by accident 2018-05-10 18:10:56 +01:00
audio
block
bt
char hw/char/cmsdk-apb-uart.c: Accept more input after character read 2018-05-04 18:05:50 +01:00
core -----BEGIN PGP SIGNATURE----- 2018-05-14 14:15:27 +01:00
cpu
cris
display qxl: fix local renderer crash 2018-05-07 11:47:57 +02:00
dma
gpio
hppa
i2c
i386 * Don't silently truncate extremely long words in the command line 2018-05-14 09:55:09 +01:00
ide
input ps2: Fix mouse stream corruption due to lost data 2018-05-15 11:31:33 +02:00
intc
ipack
ipmi
isa
lm32
m68k hw/m68k/mcf5208: Fix trivial typo in board description 2018-05-01 15:37:54 +02:00
mem pc-dimm: fix error messages if no slots were defined 2018-05-11 14:33:40 +02:00
microblaze
mips
misc mac_newworld: move wiring of macio IRQs to macio_newworld_realize() 2018-05-04 15:00:37 +10:00
moxie
net hw/net/smc91c111: Convert away from old_mmio 2018-05-04 18:05:50 +01:00
nios2
nvram
openrisc
pci
pci-bridge
pci-host uninorth: create new uninorth device 2018-05-04 15:00:37 +10:00
pcmcia
ppc make sure that we aren't overwriting mc->get_hotplug_handler by accident 2018-05-10 18:10:56 +01:00
rdma hw/rdma: Fix possible out of bounds access to port GID index 2018-05-03 20:52:29 +03:00
riscv RISC-V: QEMU 2.13 Minor Fixes 2018-05-10 10:25:15 +01:00
s390x s390x: refactor reset/reipl handling 2018-05-14 17:10:02 +02:00
scsi
sd
sh4
smbios
sparc
sparc64
ssi
timer
tpm
tricore
unicore32
usb usb: fixes for mtp and host. 2018-05-08 12:02:18 +01:00
vfio vfio-ccw: introduce vfio_ccw_get_device() 2018-04-30 10:31:41 +02:00
virtio
watchdog
xen
xenpv
xtensa
Makefile.objs