Use this topic for labs, development and supported nested-hypervisor scenarios where a Hyper-V VM must itself virtualize workloads.
Nested Virtualization · Hyper-V
The physical host is the L0 layer, the outer VM/L1 hypervisor consumes virtualized CPU features, and nested guests run at L2. CPU feature exposure, networking and performance constraints differ from ordinary VMs.
1. Nested Hyper-V: expose extensions, static memory, MAC spoofing.
2. Intel and (Windows Server 2022+) AMD.
3. Good for labs, containers with isolation.
4. Some features limited (dynamic memory, runtime resize).
5. Not for production workloads.
host → VM with VT exposed → nested VMs
Validate support and then isolate the first failed L0/L1/L2 boundary.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show every passthrough feature or production SLA is supported in the nested topology.
Next check: Validate support and then isolate the first failed L0/L1/L2 boundary.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
L0 hardware/Hyper-V → L1 VM virtual CPU features → L1 hypervisor → L2 VM virtual hardware → nested guest → workload
Step 2 Common mistakes Narrow the fault
- Nesting with Dynamic Memory on.
- No MAC spoofing for L2 networking.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Nested virtualization adds L0/L1/L2 boundaries.
- CPU virtualization exposure ≠ all hardware features passthrough.
- Nested guest performance/latency differs from direct hosting.
- Nested networking may require explicit MAC/NAT design.
Set-VMProcessor -VMName <vm> -ExposeVirtualizationExtensions $true— enable (VM off)Get-VMProcessor -VMName <vm> | fl ExposeVirtualizationExtensions— checkSet-VMNetworkAdapter -VMName <vm> -MacAddressSpoofing On— L2 networking
ReferenceWhy it matters1 section · depth on demand
In depth
Nested virtualization on Hyper-V exposes VT-x/AMD-V to a VM so it can run Hyper-V, WSL2, Docker Desktop, or other hypervisors.
Stop-VM lab01
Set-VMProcessor lab01 -ExposeVirtualizationExtensions $true
Set-VMMemory lab01 -DynamicMemoryEnabled $false
Get-VMNetworkAdapter lab01 | Set-VMNetworkAdapter -MacAddressSpoofing On
Start-VM lab01
Requirements: VM configuration version 8.0+, static memory, MAC spoofing for nested guests' networking. AMD support arrived in Windows Server 2022/Windows 11.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
An L1 VM seeing virtualization extensions shows feature exposure, not that the inner hypervisor or L2 workload is supported or healthy.
Enable
Set-VMProcessor -VMName lab01 -ExposeVirtualizationExtensions $true # VM off
Get-VMNetworkAdapter lab01 | Set-VMNetworkAdapter -MacAddressSpoofing On
Set-VMMemory lab01 -DynamicMemoryEnabled $false
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hyper-V → Nested Virtualization. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Hyper-V → Nested Virtualization reference map
Fast Hyper-V boundaries for Hyper-V → Nested Virtualization.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| L0 | Physical host/hypervisor | Owns real CPU |
| L1 | Outer VM/hypervisor | Receives exposed virtualization features |
| L2 | Nested VM | Additional virtualization boundary |
| Network | Nested connectivity design | May need MAC/NAT handling |