When I execute sendkey command, the hold parameter doesn't work,
no key is repeated in guest. Because ps2 doesn't support auto-repeat
feature. This patchset adds this support.
V2: ignore repeat events from host, re-implement in ps2 device.
move repeat state to PS2KbdState, fix repeat timer.
support migrate of repeat state
Amos Kong (2):
ps2: add support of auto-repeat
ps2: preserve repeat state on migration
hw/input/ps2.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
--
1.8.1.4