Implement the vmware vmmouse interface
https://wiki.osdev.org/VMware_tools#Absolute_Mouse_Coordinates
This should allow using absolute mouse coordinates in qemu, which makes it a lot easier to switch between the VM and the host as qemu automatically releases the mouse grab when exiting the bounds of the VM display.