diff --git a/qemu-options.hx b/qemu-options.hx index 99af8edf5f30f1eb6f5037396381425148c276e2..48dfffd86a9522ebaed87d558614655d7759f32a 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -1491,7 +1491,7 @@ spec but is traditional QEMU behavior. @item key-delay-ms Set keyboard delay, for key down and key up events, in milliseconds. -Default is 1. Keyboards are low-bandwidth devices, so this slowdown +Default is 10. Keyboards are low-bandwidth devices, so this slowdown can help the device and guest to keep up and not lose events in case events are arriving in bulk. Possible causes for the latter are flaky network connections, or scripts for automated testing. diff --git a/ui/vnc.c b/ui/vnc.c index 349cfc9d865618fc3a18e954e853382eddef6e37..b0314441c455a4be57b2eae36d71f2f00bbd808b 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -3811,7 +3811,7 @@ void vnc_display_open(const char *id, Error **errp) } lock_key_sync = qemu_opt_get_bool(opts, "lock-key-sync", true); - key_delay_ms = qemu_opt_get_number(opts, "key-delay-ms", 1); + key_delay_ms = qemu_opt_get_number(opts, "key-delay-ms", 10); sasl = qemu_opt_get_bool(opts, "sasl", false); #ifndef CONFIG_VNC_SASL if (sasl) {