summaryrefslogtreecommitdiffstats
path: root/migration/exec.c
diff options
context:
space:
mode:
authorGeoffrey McRae2018-05-07 15:13:12 +0200
committerGerd Hoffmann2018-05-15 11:31:33 +0200
commit7abe7eb29494b4e4a11ec99ae5623083409a2f1e (patch)
treeaa098e5265093a38774a3c2d54a618140c128cf3 /migration/exec.c
parentps2: Clear the PS/2 queue and obey disable (diff)
downloadqemu-7abe7eb29494b4e4a11ec99ae5623083409a2f1e.tar.gz
qemu-7abe7eb29494b4e4a11ec99ae5623083409a2f1e.tar.xz
qemu-7abe7eb29494b4e4a11ec99ae5623083409a2f1e.zip
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>
Diffstat (limited to 'migration/exec.c')
0 files changed, 0 insertions, 0 deletions