VirtualBox

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)

VBox.log (181.0 KB ) - added by joeAverage 4 months ago.
Vbox.log

Download all attachments as: .zip

Change History (3)

by joeAverage, 4 months ago

Attachment: VBox.log added

Vbox.log

comment:1 by galitsyn, 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=0to kernel command line.

Version 0, edited 4 months ago by galitsyn (next)

comment:2 by joeAverage, 4 months ago

aha. Thanks for fast support

Note: See TracTickets for help on using tickets.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette