Return to Level1Techs.com

Evdev passthrough not working for Manjaro VM

So on a whim this weekend I decided to see if I could do a GPU passthrough VM for Linux to see how it did and I’ve run into something. My Windows VMs can use evdev passthrough of keyboard and mouse without any issue, but the Manjaro linux VM I spun up doesn’t seem to capture them. There aren’t any obvious errors and the only thing I can think of is that there is some sort of missing driver.

Thoughts?

So I dumped out my libvirt XML only to discover that for some reason when I defined my VM it was missing the root XML node of the namespace required for part of the evdev configuration:

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>

Fix that and reinsert the usual <qemu:commandline>...</qemu:commandline> and it all worked.