cappsule / nofear

Run any command transparently in a VM (this repo isn't part of Cappsule)
https://cappsule.github.io/nofear/
GNU General Public License v2.0
27 stars 0 forks source link

Failed init #1

Closed cryptolok closed 8 years ago

cryptolok commented 8 years ago

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?

cappsule commented 8 years ago

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?

cryptolok commented 8 years ago

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