Opened 4 months ago
Last modified 4 months ago
#22248 new defect
Trouble with loaded module "kvm" starting a VM under Kernel 6.12
Reported by: | joeAverage | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox-7.1.4 |
Keywords: | kernel | Cc: | joeAverage |
Guest type: | Windows | Host type: | Linux |
Description
starting a VM under Kernel 6.12 runs in an error and aborts the VM-Start.
Kernel was compiled with loadable module kvm, which is loaded.
modprobe -vr kvm and kvm_intel workaround this bug.
never seen with kernels up to 6.11.9
Testbuild 165591 tried, no fun.
Error message
VM Name: Win10
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). Result Code: NS_ERROR_FAILURE (0x80004005) Component: ConsoleWrap Interface: IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}
Attachments (1)
Change History (3)
by , 4 months ago
comment:1 by , 4 months ago
Hi joeAverage,
Please refer to Changelog and also to this mailing thread. Starting from kernel 6.12, KVM virtualization is enabled by default on (kvm_XXX) module loading. This conflicts with vboxdrv
module internals. Current workaround would be to unload kvm_XXX
module before VM start or add kvm.enable_virt_at_load=0
to kernel command line.
Vbox.log