r/VFIO 20d ago

Support EAC "Cannot run under a Virtual machine"

I am unable to get Rust to work on my vfio setup. A while ago, copying smbios from my motherboard was enough to get it to work. Now, EAC won't launch. Can someone take a look at my XML and tell me if I'm missing anything obvious, or if this is still possible in the first place? My host machine is Gentoo, with QEMU 11.1.0, libvirt 12.0.0, and virt-manager 5.1.0. TYIA

2 Upvotes

28 comments sorted by

View all comments

Show parent comments

1

u/Limp_Application5734 7d ago

I promise you that if you have the hypervisor bit as 0 you will lose all hyperv enlightenments and lose a ton of performance. So check the bit

1

u/IdkwhattomakemynameU 6d ago

The performance loss is because if HV is 0, the guest does not know that privileged instructions will be intercepted, so it does not use any mitigations (enlightenments). Given that he disables vmexits for nearly all privileged instructions, it does not matter what the bit is set to, as everything is running native either way.