Nested HVM topology

Follow a nested Hyper-V example to see where the target Windows runs after HVM starts and which layer handles its VM exits.

Topology demo

STEP 01 / 07 Precondition: a physical machine with VBS on
01 / 07
Physical CPUIntel VT-x / EPT
hardware
Hyper-V (L0)The physical-layer hypervisor; owns VMX root exclusively
VMX root
Root partitionHost Windows · VBS / HVCI / kernel isolation
non-root
KswordARK driver (in the root partition)CPUID.1:ECX[5] is not visible; PREPARE fails outright
blocked
Hyper-V child partitionKSword-HVM-Target VM · nested virtualization enabled
non-root
KSword HVM (L1)VMX root · handles every VM exit coming from L2
VMX root
Guest WindowsTarget Windows, currently running directly in the Hyper-V child partition
ring 0 / 3

Step details

Status

CR4.VMXE (bit 13)
0
residentProcessorCount
0
VM exits
—
sc stop
allowed

KSWORD_ARK_HVM_STATE_*

Features with additional checks

The diagram uses two logical processors and example VM-exit counts; these are not readings from your machine. AMD SVM/NPT remains experimental.

Host

With VBS enabled, Hyper-V already owns VMX root. This example runs KSword inside a child VM with nested virtualization enabled.

Guest

After residency starts, the existing Windows runs at L2. Its kernel and processes remain the same.

KSword

KSword handles the target’s VM exits at L1. EPT access monitoring, split views and R-1 operations depend on this layer.