Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 11923  / 2 Years ago, tue, july 19, 2022, 8:29:35

When I try to open any OS on Oracle VirtualBox an error accurate.



Failed to open a session for the virtual machine xp efendi.
AMD-V is being used by another hypervisor. (VERR_SVM_IN_USE).
VirtualBox can't enable the AMD-V extension. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_SVM_IN_USE).


How can I repair this problem?


More From » virtualbox

 Answers
7

This error is because you have virtualbox and kvm installed. The kernel modules conflict.



The "simple" solution is to use one or the other, but not both. You can, however, use both as long as you are willing to manually (or script) loading / unloading the kernel modules.



To see your modules



#Virtualbox modules
sudo lsmod | grep vbox

#kvm
sudo lsmod| grep kvm


To remove a module



# remove virtualbox
sudo rmmod vboxdrv
sudo rmmod vboxnetflt

#remove kvm
sudo rmmod kvm
sudo rmmod kvm_amd


use insmod



sudo insmod /full/path/to/your/modules


You can find the module with



locate kvm | grep .ko
locate vbox | grep .ko


Use the modules for your current kernel.


[#27554] Tuesday, July 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lowovey

Total Points: 287
Total Questions: 98
Total Answers: 117

Location: Bosnia and Herzegovina
Member since Thu, Jan 14, 2021
3 Years ago
;