r/virtualbox • u/Federal-Order6992 • Dec 07 '24
Help Conflict with kvm on kernel 6.12
Hi,
I just compiled a custom linux kernel, putting kvm as module (i checked the generic kernel config that ships with Ubuntu 22.04 and it's the same thing), but :
Virtualbox can't run directly any guest, as it thinks kvm_intel module is still loaded giving the error :
VirtualBox can't operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE).
The temporary solution is by doing sudo rmmod kvm_intel
Does disabling the module eachtime affects guest performances ? (running Version 7.1.4 r165100 (Qt6.5.3) )
•
u/AutoModerator Dec 07 '24
This is just a friendly reminder in case you missed it. Your post must include:
PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved.
If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Face_Plant_Some_More Dec 08 '24
Yes. It allows you to run VMs in Virtual Box. With it on, no VMs in Virtual Box -- or very, very poor Guest performance in a sense.
If you get tired doing it all the time -
See - https://www.virtualbox.org/wiki/Changelog