I'm curious about this as well. Is there any way to enable nested virtualization (make hardware assisted virtualization available to the guest os?)
Yes, you can enable cpu_passthrough flag in ACLI vm.update
That will expose typical nested virtualization support.
Note: Enabling nested virtualization precludes that specific vm from many features, such as ADS and live migration. It also precludes the cluster from doing any sort of rolling maintenance that would require live migration.
i.e if you had to upgrade the hypervisor or BIOS, you'd have to shut down the VM with this flag enabled.
This is because KVM/QEMU based systems, just at general technology level, do not support live migration for nested virtualization enabled VMs. Google apparently just patched this for GCP but that code hasnt made it upstream yet.
I am trying to enable an nested ESXi 6.5 instance running on AHV.
I have neabled the setting which allows the install to process however am now presented with a Network Driver Issue. "No Networks Adapaters were deteced"
Incase it helps I got this working by doing the below:-
1. Created New VM meeting min requirements for ESXi 6.5
Using ACLI changed the following
2. Add compatible Nic to stop NIC error:-
vm.nic_create VMNAME network="NETWORKNAME" model=e1000
3. Enable CPU Passthrough stop CPU error:-
vm.update VMNAME cpu_passthrough=true
4. Add and ATA / IDE disk so a boot disk is discoverable at install
vm.disk_create VMNAME container=default-container-XXXX create_size=100G bus=ide index=1
Similarly I got it to install however, after sometime, it purple screened. On subsequent reboots, it vails while loading the Balloon VMCI piece. It ran successfuly for quite awhile though. How is yours working?