A Windows XP operating system is virtualized in qemu/KVM, and serious mouse offset occurs when you log on to Windows using VNC (using the KVM-VNC: 1 parameter to start qemu VNC, unable to control the mouse, it is difficult to operate on Windows.
Google once found that xen also encountered a similar problem:
Http://blog.csdn.net/jcwKyl/archive/2010/12/16/6079385.aspx
The solution mentioned in the above blog is very simple, but there are some differences with the actual operation. I don't know if it is because of the Windows XP version. The specific modification method is as follows:
Control Panel-> mouse (if not, switch to Classic Mode first)-> pointer Option
Remove the "improve pointer accuracy" option.
------------ Gorgeous split line ----------
After this is done, when you enter the Windows XP system through VNC, there are still some offsets between the mouse and the real mouse in VNC, but the offset size will not change. This is caused by relative positioning of the mouse, and the solution is relatively simple. When qemu is started, change all relative positioning devices to absolute positioning devices, add the following parameters to qemu startup parameters:
-Usbdevice Tablet