Re: [Qemu-devel] [PATCHv3 2/2] ps2: Fix mouse stream corruption due to lost data

2018-05-15 Thread Gerd Hoffmann
On Mon, May 07, 2018 at 11:13:12PM +1000, Geoffrey McRae wrote: > 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

[Qemu-devel] [PATCHv3 2/2] ps2: Fix mouse stream corruption due to lost data

2018-05-07 Thread Geoffrey McRae via Qemu-devel
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 w