Nested Hypervisor
Cheat sheet · https://pcornel.dk/topic.php?topic=3806
Answer
A nested hypervisor is a hypervisor running inside a VM (L1) that starts its own VMs (L2). It needs exposed virtualization extensions and is mainly used for labs, CI and training rather than production workloads.
Remember
- Every VM exit in the nested guest is handled by two hypervisors.
- Vendor support for nested setups is limited.
- It is meant for labs, CI and training.
First checks
systemd-detect-virt— in L1: running as VMlsmod | grep kvm— L1 hypervisor loadedvirsh list— L2 VMs
Verify in this order
L0 → L1 nested hypervisor → L2
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3806