Ticket #4704 (closed enhancement: wontfix)

Opened 9 years ago

Last modified 7 years ago

Should suggest unloading KVM module instead of recompiling kernel

Reported by: AnssiHannula Owned by:
Priority: major Component: other
Version: VirtualBox 3.0.4 Keywords:
Cc: anssi@… Guest type: other
Host type: Linux


When kernel module kvm-intel or kvm-amd is loaded and VirtualBox errors out with VERR_VMX_IN_VMX_ROOT_MODE, it shows help text "Please disable the KVM kernel extension, recompile your kernel and reboot".

It should check if kvm-intel/kvm-amd are loaded and instruct to remove that module instead. It is a lot easier than a kernel recompilation. At least Mandriva Linux has been shipping kvm as modules in the default kernels for quite some time now.

Change History

comment:1 Changed 9 years ago by frank

Well, it depends on the kernel if there is a module or if the code is compiled into the kernel. But we will probably extend the message a little bit.

comment:2 Changed 9 years ago by AnssiHannula

You can also check /proc/modules to see if it is a module.

comment:3 Changed 8 years ago by Markor

Unloading Kvm module or recompiling kernel is not needed, since in 3.0 of Virtualbox, it was working on the same machine just fine. Seems like Virtualbox is not willing to cexist with current KVM installations anymore, even if it was announced that that bug will be avoided with switch that would say Virtualbox to avoid such behavior in case of older kvm implementations that does not unset Vt bits when not used.

This way, everyone installing new Virtualbox on server with long term release, will realize that Virtualbox does not want to work in the presence of the other virtualization environments, even if not used. Please allow for Virtualbox to override this situation fith current in-production instalaltions, or users will be forced to stay with 3.0 that actually works and does not misbihave like this.

comment:4 Changed 8 years ago by sandervl73

Don't spread nonsense. VirtualBox does not claim AMD-V nor VT-x when not used. Unlike KVM until fairly recently.

comment:5 Changed 7 years ago by frank

  • Status changed from new to closed
  • Resolution set to wontfix

Shouldn't be relevant anymore with recent Linux kernels.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use