"Could not access KVM kernel module" with QEMU on Ubuntu Virtual Machine
I am trying to run a program that uses QEMU on an Ubuntu VM in VirtualBox hosted on a Windows 10 computer with an AMD CPU. When I try to run the program it gives me this error:
Code:
Could not access KVM kernel module: No such file or directory Code:
sudo modprobe kvm_amd Code:
modprobe: ERROR: could not insert 'kvm_amd': Operation not supported Code:
QEMU: Checking for hardware virtualization : FAIL (Only emulated CPUs are available, performance will be significantly limited) https://i.stack.imgur.com/dIkFr.png https://i.stack.imgur.com/nouCt.png This hasn't helped fix it. Other solutions mention going to the BIOS to fix it, but since this is a VM there doesn't seem to be a way to do that in VirtualBox. |
VirtualBox 6.1 supports nested virtualization. If you are not running version at least version 6.1 you will need to upgrade.
In vboxmanager settings for your guest select System->Processor and click on the nested VT-x checkbox. If it is greyed out try enabling from the command line as: vboxmanage modifyvm "guest name" --nested-hw-virt on |
In my post I have included two images which show my current VBox settings. I have already checked that setting and also manually enabled it via the command line like you said. I also recently updated it to the newest version. It still does not work.
|
All times are GMT -5. The time now is 11:11 PM. |