Created attachment 1726480 [details] QEMU-KVM XML Description of problem: Mouse Stops Working After Installing Guest Drivers. When uninstalled, guest cursor can be released to host with Control-Alt, then captured again by clicking in the Virt-Manager window. After install (even if the virtio-input component is disabled), there is no guest mouse whatsoever, and clicking in the Virt-Manager window only captures the keyboard, not the mouse. If the mouse device is passed through to the guest directly with Virt-Manager's "Redirect USB device", then the mouse works normally on an external display, but the cursor is not visible on the QXL display, although the mouse itself works (similar behaviour to this issue: https://bugzilla.redhat.com/show_bug.cgi?id=985461). Version-Release number of selected component (if applicable): Guest: Windows 10 Version 2004 Host: Ubuntu 20.04.1 LTS Linux Kernel 5.4.0-52-generic Displays: External display using VFIO PCI eGPU passthrough, as well as QXL display. Guest drivers (signed binaries downloaded from fedora docs) ISO releases: 0.1.185 (stable) 0.1.189 (latest) QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.8) libvirtd (libvirt) 6.0.0 How reproducible: On a fresh setup, install windows guest drivers. Actual results: Mouse stops working in guest. Expected results: No change in mouse behaviour - should still function in guest and release to host using Control-Alt. Additional info: QEMU-KVM XML: https://www.dropbox.com/s/yl334na90ng1vsn/broccoli_live.xml?dl=0 QEMU-libvirt log: https://www.dropbox.com/s/b9nloshf6lins7z/broccoli.log?dl=0
Reproduced on RHEL 8.4 and Windows 10 2004 with AMD RX 550 Radeon VFIO passthrough (not eGPU but regular one). The issue appears in QEMU when at least two video cards are installed and one of them is the VFIO passthrough. In such configuration even if there is a standard VGA card specified and Basic Display drivers is automatically installed for that card, the mouse cursor starts disappearing on one of the desktops. It looks like to be a Windows system issue - Windows cannot handle correctly mouse cursor transition between desktops when each of them is being displayed by a different card.
I also faced this issue