Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Virtualbox enable nested vtx/amd-v greyed out

On my Ubuntu 18.04, I've installed VirtualBox 6.0 in order to have nested virtualization. Virtualization is enabled in my bios.

However, when I open the settings of my (powered off) virtual machine and go to System -> Processor, the option "Enable Nested VT-x/AMD-V" is greyed out and I cannot enable it.

enter image description here

like image 753
Francesco Borzi Avatar asked Jan 18 '19 10:01

Francesco Borzi


People also ask

What is nested VTX?

Nested virtualization lets you run virtual machine (VM) instances inside of other VMs so you can create your own virtualization environments. To support nested virtualization, Compute Engine adds Intel VT-x instructions to VMs, so when you create a VM, the hypervisor that is already on that VM can run additional VMs.


2 Answers

Execute this:

$ VBoxManage modifyvm vm-name --nested-hw-virt on 
like image 104
Sothy Lorn Avatar answered Sep 19 '22 19:09

Sothy Lorn


For Windows

In Windows, go to VirtualBox installation folders -> type cmd on the bar (it will pop up cmd in that folder) -> type VBoxManage modifyvm YourVirtualBoxName --nested-hw-virt on -> enter.

Now it should been ticked.

like image 22
Fareed radzi Avatar answered Sep 21 '22 19:09

Fareed radzi