AMD SVM Hypervisor
In progressSVMCheck
An AMD SVM hypervisor built as a Windows kernel driver. It runs an isolated synthetic guest, handles nested page faults and MSR access in software, and exposes a small administrator-only control interface.
- AMD SVM
- Windows kernel
- Nested paging
- C++
- x64 assembly
- Execution model
- Runs a synthetic guest to completion on a pinned CPU, then returns to Windows. Windows is never the guest, so no request can observe a guest mid-run.
- VMRUN on every processor
- Each logical processor gets its own VMCB, host-state area, and I/O and MSR permission maps. The driver pins to each CPU in turn, performs a VMRUN round trip, and reports how many completed. It requires NRIPS support and validates the next-RIP value before resuming.
- Intercepts
- All 32 exception vectors and shutdown return to the host as safe exits instead of cascading toward a machine reset. MSR access goes through an explicit permission map: selected MSRs are emulated against saved guest state, and invalid writes inject #GP(0) into the guest.
- Nested paging
- The nested page fault handler fails closed by default. Faults inside allow-listed identity windows are resolved on demand with exactly the requested permission, capped by a per-window ceiling. 2 MB leaves are split on a fault so permissions stay enforceable page by page.
- Controller interface
- A versioned hypercall ABI answers a reserved CPUID range (0x40000000–0x400000FF) in software. An administrator-only device, \\.\SvmHv, offers a status query and read-only guest-physical reads of at most 4096 bytes, allowed only where the nested page table maps the memory.
- Testing
- Host-side policy suites (2,661 nested-paging checks, 75 ABI checks, 16 page-walk checks) plus tests on real hardware. A six-case negative IOCTL battery covering bad versions, oversize lengths and address overflow passes against the live driver, and every rejection returns a defined status instead of crashing.
Main architect · October 2026
Driver log · DbgView output

Excerpt from the DbgView window, cropped.

Excerpts from the DbgView window, arranged by topic.

Excerpts from the DbgView window, arranged by topic.

Rendered from the exported DbgView log, Debug Print column only.

Rendered from the exported DbgView log, Debug Print column only.

Rendered from the exported DbgView log, Debug Print column only.















