If you want to run Windows OS in Oracle VirtualBox hosted on Linux, you might encounter this error:
“Failed to open session for virtual machinE Winxp
VT-x is be used by another hypervisor.
(VERR_VMX_IN_VMX_ROOT_MODE)VirtualBox can’t operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot
(VERR_VMX_IN_VMX_ROOT_MODEL).”
The message is clear: you need to disable KVM. But what exactly is KVM?
Kernel-based Virtual Machine is a free and open-source virtualization module in the Linux kernel that allows the kernel to function as a hypervisor. It was merged into the mainline Linux kernel in version 2.6.20, which was released on February 5, 2007
Why should I disable KVM?
You can’t make them work together. They both need access to the CPU’s virtualization features, but that’s not designed to be used by more than one hypervisor at once.
How to disable KVM in linux?
lsmod |grep kvm
modprobe -r <kvm name>
First, identify your KVM module name and use it in the second command to disable it. Typically, the KVM module is named kvm_intel or kvm.
Leave a Reply