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.

Answer from Panther on askubuntu.com
🌐
VirtualBox
forums.virtualbox.org › board index › general › virtualbox on linux hosts
VMSetError: VirtualBox can't enable the AMD-V extension. Please disable the KVM kernel extension, re - virtualbox.org
Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_SVM_IN_USE). Result Code: NS_ERROR_FAILURE (0x80004005) Component: ConsoleWrap Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed} I found a post on this forum and as a result I checked whether AMD virtualization ...
🌐
Reddit
reddit.com › r/linuxquestions › virtualbox can't enable the amd-v extension. error
r/linuxquestions on Reddit: VirtualBox can't enable the AMD-V extension. Error

Open a terminal and type the following: Sudo modprobe -r kvm_amd kvm This will remove the module, and any dependencies it needs.

Videos
February 16, 2024
3.5K
🌐
GitHub
github.com › void-linux › void-packages › issues › 53855
VirtualBox can't enable the AMD-V extension, since kernel 6.12 · Issue #53855 · void-linux/void-packages
January 5, 2025 - Is this a new report? Yes System Info Void 6.12.7_1 x86_64 AuthenticAMD notuptodate rFF Package(s) Affected virtualbox-ose-7.0.20_1 Does a report exist for this bug with the project's home (ups...
Published: Jan 05, 2025
🌐
Ask Ubuntu
askubuntu.com › questions › 403591 › amd-v-is-being-used-by-another-hypervisor-verr-svm-in-use
virtualbox - AMD-V is being used by another hypervisor. (VERR_SVM_IN_USE) - Ask Ubuntu

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.

Answer from Panther on askubuntu.com
🌐
Stack Overflow
stackoverflow.com › questions › 54251855 › virtualbox-enable-nested-vtx-amd-v-greyed-out
virtualization - Virtualbox enable nested vtx/amd-v greyed out - Stack Overflow

Execute this:

$ VBoxManage modifyvm <VirtualMachineName> --nested-hw-virt on
Answer from Sothy Lorn on stackoverflow.com
🌐
Atetux
atetux.com › home › quick fix virtualbox can’t enable the amd-v extension
Quick Fix VirtualBox can't enable the AMD-V extension - Atetux
January 7, 2025 - To quick fix this issue disable the kvm and kvm_amd module ... after execute those command, re-run again the VirtualBox machine, it should work, because the KVM module is gone.
🌐
Stack Exchange
unix.stackexchange.com › questions › 798132 › why-and-how-were-kvm-modules-unexpectedly-enabled-in-ubuntu-24-04
virtualbox - Why and how were KVM modules unexpectedly enabled in Ubuntu 24.04? - Unix & Linux Stack Exchange

In version 6.12 of the Linux kernel, kvm module initialisation was changed — it now takes place as soon as the modules are loaded, and not the first time they are used. This prevents VirtualBox from working, as you discovered. This is documented in the VirtualBox 7.1.4 release notes. Since your system was upgraded from 6.11 to 6.14, that explains the sudden appearance of the symptoms.

To return to the previous situation (where KVM modules can be loaded without preventing VirtualBox from working), you can add kvm.enable_virt_at_load=0 to the kernel boot parameters. If you’re using Grub on a Debian derivative, that’s done by adding the parameter to the GRUB_CMDLINE_LINUX_DEFAULT= line in /etc/default/grub, then running sudo update-grub. After a reboot, this will allow VirtualBox to work, without preventing any other KVM-based tool from working either.

The other option is to disable the KVM modules entirely; this is safe, but will prevent any KVM-based tool from working. See cas’ answer for details.

Answer from Stephen Kitt on unix.stackexchange.com
🌐
Reddit
reddit.com › r/fedora › virtualbox can't enable the amd-v extension. what changed?
r/Fedora on Reddit: VirtualBox can't enable the AMD-V extension. What changed?

Perhaps you were previously running in 32bit mode? Most motherboards don't enable AMD-Virtualization by default, which limits you to 32bit. As others commented, consider GNOME Boxes or Virt-Manager. VirtualBox is not FLOSS and should be avoided where possible.

Find elsewhere
🌐
Ask Ubuntu
askubuntu.com › questions › 1553345 › suddenly-ubuntu-24-04-virtualbox-wont-run-a-vm-cant-enable-the-amd-v-ext
virtualization - Suddenly, Ubuntu 24.04 & VirtualBox won't run a VM - "can't enable the AMD-V extension" Why? - Ask Ubuntu

I found the answer. I had to run the following to unload the kvm_amd module.

sudo rmmod kvm_amd 2>/dev/null

I have no idea why this is true now, but once I ran that command then I was able to start the VirtualBox VM up with no problems.

QEMU

Well, maybe QEMU images run no matter what, because QEMU will still run even when the VirtualBox VM is running and with the kvm_amd module unloaded.

No idea why this module is running and interfering all of a sudden.

Docker

I could also still start my Docker (running MS SQL) without the kvm_amd module running.

Well, all my virtualization seems to be working now. If you run into this problem just unload your associated module

sudo rmmod kvm_amd 2>/dev/null
sudo rmmod kvm_intel 2>/dev/null
sudo rmmod kvm 2>/dev/null

Android Studio Device Emulator

I discovered, however, that for Android Studio device emulator (which I thought ran under QEMU) you will need the kvm loaded in again. (see error I saw when I tried to start the Android Emulator)

To load your KVM module again, you can just run:

sudo modprobe kvm_amd

When you return to Android Studio & try the emulator, it will now run.

I'll be writing scripts to quickly switch between the two.

Answer from raddevus on askubuntu.com
🌐
VirtualBox
forums.virtualbox.org › board index › general › virtualbox on windows hosts
[Resolved] Problem with virtualization, AMD-V is disabled in the BIOS - virtualbox.org
Reason: Marked as [Resolved]. ... Joined: 22. Oct 2010, 11:03 ... Post by socratis » 10. Apr 2019, 21:03 · misonak wrote:AMD-V is disabled in the BIOS (or by the host OS) (VERR_SVM_DISABLED).You need to address the message; you need to go into your BIOS and enable hardware virtualization.
🌐
Super User
superuser.com › questions › 1555293 › cant-enable-amd-v-in-virtualbox-hardware-virtualization
windows 10 - Can't enable AMD-V in VirtualBox (hardware virtualization) - Super User

I finally found the answer. Even if Hyper-v was disabled in the Windows features, the service named HV Host Service was still running. I disabled all the Hyper-v services and now the option VT-x / AMD-V in the Vbox VM setting isn't grayed out anymore and my VM boots when I enable the option.

Answer from dmsakl on superuser.com
🌐
Super User
superuser.com › questions › 1845776 › virtualbox-cant-operate-in-vmx-mode
virtual machine - VirtualBox can't operate in VMX mode - Super User
Recently, I tried to use VirtualBox and got this 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_M...
🌐
Arch Linux Forums
bbs.archlinux.org › viewtopic.php
[Solved] virtualbox 7.1.4 can't run on kernel 6.12 on an AMD machine / [testing] Repo Forum / Arch Linux Forums
Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_SVM_IN_USE) downgrading to kernel 6.11.9.arch1-1 and virtualbox-host-modules 7.1.4-9 solved the issue. AMD-V is enabled in BIOS and no BIOS settings were changed at all.
🌐
Ask Ubuntu
askubuntu.com › questions › 739454 › enable-amd-v-virtualization
virtualbox - Enable AMD-V (virtualization) - Ask Ubuntu

On my setup (AMD Ryzen / MSI B450M-A PRO MAX), /proc/cpuinfo listed the svm feature, and lscpu listed AMD-V, even though it was disabled in the BIOS.

The BIOS setting to enable AMD-V was hard to find, as it was located in Overclocking > CPU Features > SVM mode.

Hope this helps people finding this thread.

Answer from trent-- on askubuntu.com
🌐
VirtualBox
forums.virtualbox.org › board index › general › virtualbox on windows hosts
[Solved] Error VERR_SVM_IN_USE - virtualbox.org
I had created several Virtual Machines ... always get the same error: AMD-V is being used by another hypervisor. (VERR_SVM_IN_USE). VirtualBox can't enable the AMD-V extension....
🌐
VirtualBox
forums.virtualbox.org › board index › general › virtualbox on linux hosts
Kernel 6.12.4 breaks Virtualbox - virtualbox.org
Addendum, the complete error message is - VBoxManage: error: VirtualBox can't enable the AMD-V extension.
🌐
VirtualBox
forums.virtualbox.org › board index › general › virtualbox on windows hosts
Enable Nested VT-X/AMD-V not working - virtualbox.org
Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. In the "Logs" subfolder, zip the VM's "vbox.log", and post the zip file, using the forum's Upload Attachment tab. (Configure your host OS to show all extensions so you can find the "vbox.log", ...
🌐
12000
12000.org › my_notes › faq › Unix_and_Linux › indexsection76.htm
How to handle error VirtualBox can’t enable the AMD-V extension?
on linux, was trying to start virtual box windows 10, and got the error "VirtualBox cant enable the AMD-V extension.
🌐
MX Linux Forum
forum.mxlinux.org › viewtopic.php
VirtualBox cannot enable the AMD-V extension - MX Linux Forum
VirtualBox cannot enable the AMD-V extension. Disable the KVM kernel extension, recompile your kernel, and reboot (VERR_SVM_IN_USE).