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
..
2018-05-04 18:52:58 +01:00
2018-05-10 18:10:56 +01:00
2018-02-02 08:19:25 +01:00
2018-03-02 13:45:50 -06:00
2018-04-26 13:57:00 +01:00
2018-03-02 11:03:45 +00:00
2017-12-18 17:07:02 +03:00
2017-01-27 18:07:59 +01:00
2017-12-18 17:07:02 +03:00
2018-03-12 16:12:48 +01:00
2017-02-28 17:10:00 +00:00
2018-03-01 11:05:45 +00:00
2018-05-10 18:10:56 +01:00
2018-02-09 13:50:17 +01:00
2018-05-15 11:31:33 +02:00
2018-04-27 18:05:22 +10:00
2017-04-26 12:41:55 +10:00
2018-04-26 13:57:00 +01:00
2017-02-16 14:06:56 +01:00
2018-05-07 10:00:02 -03:00
2017-10-27 16:04:28 +02:00
2018-05-04 15:00:37 +10:00
2018-01-11 13:25:38 +00:00
2018-02-09 05:05:11 +01:00
2018-03-20 15:48:34 +00:00
2018-02-09 05:05:11 +01:00
2018-05-04 15:00:37 +10:00
2018-05-07 10:00:02 -03:00
2018-05-06 10:39:38 +12:00
2018-05-14 17:10:02 +02:00
2018-04-09 16:36:39 +02:00
2018-02-22 15:12:52 +00:00
2017-01-27 18:07:59 +01:00
2018-02-09 13:52:16 +01:00
2018-01-09 21:48:20 +00:00
2017-12-13 17:59:26 +00:00
2018-03-02 10:45:34 +00:00
2017-12-18 17:07:02 +03:00
2018-02-09 10:40:30 +00:00
2018-03-13 11:17:31 -06:00
2018-03-13 23:09:49 +02:00
2017-09-04 15:21:54 +01:00
2018-04-26 16:29:51 +01:00
2018-02-09 05:05:11 +01:00
2018-05-07 10:00:02 -03:00
2017-01-27 18:07:59 +01:00
2018-04-27 18:05:22 +10:00
2017-04-24 12:32:12 +01:00
2018-03-07 08:30:28 +13:00
2016-11-15 17:20:37 +02:00
2017-06-01 18:49:22 +02:00
2017-01-27 15:23:29 -08:00
2018-03-02 11:03:45 +00:00
2018-02-09 05:05:11 +01:00
2018-03-07 08:30:28 +13:00
2018-03-02 11:03:45 +00:00
2018-05-10 18:10:56 +01:00
2017-07-11 17:44:27 +03:00
2018-03-02 11:03:45 +00:00
2018-05-14 15:47:14 +08:00
2018-03-01 11:05:43 +00:00
2018-02-09 05:05:11 +01:00
2018-01-26 07:15:08 +01:00