Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Nested Virtualization · Hyper-V

Direct answer

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.

When to use this

Use this topic for labs, development and supported nested-hypervisor scenarios where a Hyper-V VM must itself virtualize workloads.

First 30 seconds

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.

Operational verification

host → VM with VT exposed → nested VMs

Evidence · next step

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
Common mistakes
Common traps

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.

Platform / version applicability
hyper-v
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformhyper-v
Scope / prerequisiteUse this topic for labs, development and supported nested-hypervisor scenarios where a Hyper-V VM must itself virtualiz…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • Set-VMProcessor -VMName <vm> -ExposeVirtualizationExtensions $true — enable (VM off)
  • Get-VMProcessor -VMName <vm> | fl ExposeVirtualizationExtensions — check
  • Set-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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor dochyper-v current

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%
Terminology layer

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.

Aliases that resolve here
hyper-v nested virtualizationnested hyper-vhyper-v inside vm
Embedded reference data

Quick lookup tables

Hyper-V → Nested Virtualization reference map

Fast Hyper-V boundaries for Hyper-V → Nested Virtualization.

BoundaryMeaningEvidence limit
L0Physical host/hypervisorOwns real CPU
L1Outer VM/hypervisorReceives exposed virtualization features
L2Nested VMAdditional virtualization boundary
NetworkNested connectivity designMay need MAC/NAT handling
Confirmation

Confirm action

Continue?