Created attachment 1230743 [details] Screenshot with Windows 10 running in the virtual machine Upgrading from Fedora 24 to Fedora 25 has caused mouse cursor positioning in QEMU to break. Previously the mouse cursor in the virtual machine followed the "physical" mouse cursor (whenever it was over the QEMU window), but now it seems to have a position which is a linear function of the position of the physical cursor. This makes clicking anything inside the virtual machine incredibly difficult - se the attached screenshot for an example. I can reset the constant part of the offset of the virtual cursor by leaving the window (left ctrl+alt), activating another window and then clicking inside the QEMU window again. Everything QEMU is version 2.7.0-7.fc25, Xorg is xorg-x11-server-common-1.19.0-1.fc25.x86_64 and xorg-x11-drv-intel-2.99.917-26.20160929.fc25.x86_64 .
It just dawned on me that I'm now running Wayland by default - I've just checked, and switching back to X makes the problem go away. IOW it's the combination of Wayland and QEMU that has problems. Wayland is version 1.12.0-1 .
Can you provide your guest config? If using libvirt, grab it with: sudo virsh dumpxml $vmname
Created attachment 1231026 [details] Domain config from virsh
Looks like your VM doesn't have a usb tablet device attached, which may be due to virt-manager bug 1370887. If you do sudo virt-xml $vmname --add-device --input tablet and poweroff/poweron the VM, does it fix things?
Yes, that seems to fix things - many thanks. My apologies for not noticing bug 1370887 before reporting this one.
No worries, the connection wasn't obvious to me until I started digging :) There's a bug tracking the regression of non-tablet mouse behavior on wayland, duping to that *** This bug has been marked as a duplicate of bug 1285378 ***