Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Nested Hyper-V

Direct answer

Nested Hyper-V runs Hyper-V inside a Hyper-V VM on Intel or AMD hosts. Turn it on with Set-VMProcessor -ExposeVirtualizationExtensions $true while the VM is off, and enable MAC address spoofing for nested VM networking.

When to use this

Use this when running Hyper-V inside a Hyper-V VM.

First 30 seconds

1. Nested Hyper-V needs ExposeVirtualizationExtensions, static memory and MAC spoofing.

2. Works on Intel and AMD (recent Windows).

3. Used for labs, WSL2 in VMs.

4. No live migration of the L1 VM in older versions.

5. Check checkpoints restrictions.

Operational verification

L0 Hyper-V → L1 Hyper-V VM → L2

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
virtualization
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.

Platformvirtualization
Key commandGet-VMProcessor -VMName lab01 | Select ExposeVirtualizationExtensions
Scope / prerequisiteUse this when running Hyper-V inside a Hyper-V VM.
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 Checks Verify boundary
Get-VMProcessor -VMName lab01 | Select ExposeVirtualizationExtensions
Get-VMNetworkAdapter -VMName lab01 | Select MacAddressSpoofing
Step 2 Common mistakes Narrow the fault
  • Dynamic Memory enabled on the L1 VM.
  • MAC address spoofing off, so L2 VMs have no network.
  • Running on AMD hosts with old Windows versions (AMD nested support arrived with Windows 11/Server 2022).
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
  • VM must be off to enable extensions.
  • Dynamic memory must be off.
  • MAC spoofing needed for nested networks.
Key checks
  • Set-VMProcessor -VMName <vm> -ExposeVirtualizationExtensions $true — enable (VM off)
  • Set-VMNetworkAdapter -VMName <vm> -MacAddressSpoofing On — L2 networking
  • Get-VMMemory <vm> | fl DynamicMemoryEnabled — must be static
ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Nested Hyper-V (Hyper-V inside a VM):

# on the L0 Hyper-V host, VM off
Set-VMProcessor -VMName hv-lab -ExposeVirtualizationExtensions $true
Set-VMMemory hv-lab -DynamicMemoryEnabled $false -StartupBytes 16GB
Get-VMNetworkAdapter -VMName hv-lab | Set-VMNetworkAdapter -MacAddressSpoofing On

On VMware L0, enable "Expose hardware assisted virtualization to the guest OS" on the VM. On KVM L0, use cpu: host and ensure kvm_intel nested=1. Azure Dv3/Ev3 and newer sizes support nested Hyper-V.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Enabling nested Hyper-V

Stop-VM -Name lab-hv
Set-VMProcessor -VMName lab-hv -ExposeVirtualizationExtensions $true
Set-VMNetworkAdapter -VMName lab-hv -MacAddressSpoofing On
Set-VMMemory -VMName lab-hv -DynamicMemoryEnabled $false
Start-VM -Name lab-hv

Documented example, not captured output. MAC spoofing (or NAT inside L1) is needed so nested VMs get network access.

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 docvirtualization current

Authoritative/upstream documentation reviewed for bounded claims in Nested Virtualization → Nested Hyper-V. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/docs.html · confidence 94%
Confirmation

Confirm action

Continue?