I’m running EndeavourOS Mercury on my laptop with 2 Windows VMs that I used GPU passthrough on (both are separate VMs that I can’t run together). Haven’t used passthrough for keyboard since I don’t have an extra keyboard yet.
My issue: The desktop environment seems to restart and the host keyboard on the laptop seems to cease functioning (can’t type anything at all).
I’m not able to re-login when the desktop environment reloads (type the password using the laptop keyboard, except using a virtual keyboard). The touchpad still does work though, but I can’t type the password to login to the VMs.
I still don’t understand how you’re using your host’s keyboard (and assuming mouse, as well) on the VMs. I use evdev settings directly in the VM’s .xml file:
I use evdev to share my PC’s keyboard/mouse with the VM, since I have to remove all Spice-related connections when using GPU pass-through. That’s why I’m not understanding why your laptop’s keyboard just “works” in this scenario.
When I setup my VMs, I can hit Left-Ctrl-Right-Ctrl to switch between host/VMs. What you’re describing isn’t what I’m used to.
I’m going to need to see the complete config of one of your VMs. Something like sudo virsh dumpxml your_domain_name | eos-sendlog, where your_domain_name is the name of the VM.
OK, so you’re using Looking Glass. Sorry, I have no experience with that setup. I’ve always used a dedicated 2nd GPU for VMs and shared my keyboard/mouse as I explained earlier.
Might as well, but I’m not confident I’ll be able to help you. My VMs are completely devoid of spice and its related settings, so I might be comparing apples to oranges here.
No, I’m still being blocked from using the VM. I’ll be trying to access the host with a keyboard and mouse.
Edit: It got fixed when I plugged in a USB keyboard for some reason but I’m a bit worried that it would be a temporary patch. Is journalctl the only one that logs in system and hardware related issues? I’ll also try doing your option of fixing the keyboard.
I’d probably try to upload the video of the VM crashing everything.