VMware ESXi 7
Sponsored Link

Nested Virtualization2023/03/14

 
Enable Nested Virtualization for Virtual Machines.
[1] To enable on shell access, configure like follows.
[root@ctrl:~]
vim-cmd vmsvc/getallvms

Vmid        Name                               File                            Guest OS       Version   Annotation
6      CentOS_Stream_9   [datastore1] CentOS_Stream_9/CentOS_Stream_9.vmx   centos9_64Guest   vmx-19
7      Ubuntu_22.04      [datastore1] Ubuntu_22.04/Ubuntu_22.04.vmx         ubuntu64Guest     vmx-19

# for example, enable nested for a VM [Ubuntu_22.04]

[root@ctrl:~]
echo 'vhv.enable = "TRUE"' >> /vmfs/volumes/datastore1/Ubuntu_22.04/Ubuntu_22.04.vmx
[root@ctrl:~]
vim-cmd vmsvc/reload 7

 
To enable on VMware Host Client, configure like follows.
[2] Open the setting window of a Virtual Machine you like to enable Nested Virtualization, and then check a box [Expose hardware ***] on [Hardware virtualization] section.
[3] That's OK, on a Virtual Machine Nested Virtualization is enabled, Hypervisor can run and it's possible to create nested Virtual Machine on Virtual Machine.
Matched Content