QEMU/KVM virtualisation running on *Arch Linux.
There is an *Arch Linux / Fedora virtual machine running in it.
There is a specific physical mouse connected to that virtual machine via USB passthrough.
This kinda works, but the issue is that the mouse pointer is not visible in the VM.
* I don’t think it makes any difference which Linux distro is being run as host/vm in this case.
Question: How to make the mouse pointer visible?
What I have already tried/found:
-
https://wiki.archlinux.org/title/QEMU/Troubleshooting#No_visible_Cursor
-
-display default,show-cursor=on -
-vga qxl -
-usb -device usb-tablet -
removing spice-vdagent
-
https://www.reddit.com/r/kvm/comments/16oiby0/qemukvm_to_always_show_guest_cursor/
-
Prevent mouse from being hidden in Ubuntu when running as KVM/QEMU guest
My current VM config:
qemu-system-x86_64
-accel kvm
-m 2048
-smp 2
-drive file=/var/lib/libvirt/images/fedora.qcow2,format=qcow2,if=virtio
-device qemu-xhci,id=xhci
-device usb-host,bus=xhci.0,vendorid=0x413c,productid=0x250e
-usb -device usb-tablet
-display default,show-cursor=on
-vga qxl