cappsule/nofear

Failed init

cryptolok opened this issue · 2 comments

After YOLOinstallation with root on a physical machine and patch applying, when trying to launch nofear:

Error: KVM_CREATE_VM ioctl
Warning: Failed init: kvm__init
Fatal: Initialisation failed

Exit status 128.

Kernel logs indicate:

kvm: enabling virtualization on CPUx failed

Whereas host CPU supports VMX and I use KVM regularly.

Any suggestions?

Thanks for the bug report. The error seems to be related to KVM, not NoFear.

I dug through the Linux kernel source code and I assume you get this error because another hypervisor is running. hardware_enable() returns -EBUSY if the bit VMXE of CR4 is set. Can you confirm that another hypervisor is running?

Yep, you're right...
I forgot about another hypervisor...
Runs great by the way.
Nice project and thanks!