Running nested VMware ESXi 8.0 host under KVM hypervisor

Published on Author admin

Prerequisites:

  • hardware support for VT-x
  • enabled nested virtualization for KVM

Use below command to create KVM virtual machine containing VMware ESXi:

virt-install --virt-type=kvm --name=vmware-esxi8 \
--ram 8192 --vcpus=4 \
--virt-type=kvm --hvm \
--cdrom /home/pawel/ISO/VMware/VMware-VMvisor-Installer-8.0-20513097.x86_64.iso \
--network network:default,model=vmxnet3 \
--graphics vnc --video qxl \
--disk pool=default,size=32,sparse=true,bus=sata,format=qcow2 \
--boot cdrom,hd --noautoconsole --force \
--cpu host-passthrough --os-variant linux2020

Key difference comparing to ESXi 7.0 and older KVM versions:

  • ESXi 8.0 oficially requires 8GB RAM (real ESXi idle memory usage 1.6GB)

ESXi 8.0 WebUI interface: