<font color='black' size='2' face='arial'><font color="#222222" face="arial, sans-serif" size="2"><span style="background-color: rgb(255, 255, 255);">Marc-AndrĂ©,</span></font>
<div><br>
</div>

<div>It seems that my mail client butchered my response to you so that it was hard to see my in-line comments.  I thought I would re-post a cleaned-up version:<br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">> It was discussed several time in the past, last I remember the issue is</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">> mainly with Windows guests,</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">> There are some hints to solve it in this</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">> page:</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">> http://serverfault.com/questions/624690/windows-guest-on-kvm-qemu-suffers-horrible-key-lag</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">Yes I saw this too when researching. However my guest is Fedora 21, not Windows.</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">> (iirc,</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">> using a usb keyboard would solve it too)</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">I did see this also and played around with changing the input type of the keyboard to USB in my xml file. However it appears that QEMU creates the PS/2 keyboard regardless and thus I end up with two keyboards and not sure which it is using. I saw the same lag with this approach.</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">> I am not convinced at this point that the</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">> keypress-delay is problematic. Do you have a particular use case, or simply text</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">> typing?</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">Use case is any sort of regular typing in a VM, whether in gedit, vi in a terminal window, or typing an email in a browser window. It is a slight but noticeable delay when typing in the VM vs. on the physical host. The VM is running locally so I don't need there to be any delay to compensate for network conditions.</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">In the link from 2014 I previously posted, the person who recompiled with 10ms value for keypress-delay saw a huge improvement in the overall feel. My hope for a solution is that the keypress-delay can be auto-tuned based on network conditions or user configurable. Thank you for considering this.</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">Thanks,</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);">Jared Kwek</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;"></div>
</font>