Virtualbox enable nested vtx/amd-v greyed out

Francesco Borzi picture Francesco Borzi · Jan 18, 2019 · Viewed 64.7k times · Source

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

Answer

Sothy Lorn picture Sothy Lorn · Jul 10, 2019

Execute this:

$ VBoxManage modifyvm vm-name --nested-hw-virt on