AMD-V
Cheat sheet · https://pcornel.dk/topic.php?topic=3409
Answer
AMD-V, historically associated with AMD Secure Virtual Machine (SVM), supplies CPU virtualization instructions/state that modern hypervisors use to execute guest kernels efficiently and safely under VMM control.
Remember
- AMD-V/SVM is CPU virtualization; AMD-Vi/IOMMU is the I/O/DMA-remapping family.
- Processor support, firmware enablement and hypervisor visibility are separate boundaries.
- The firmware label may use SVM Mode rather than AMD-V.
- Nested exposure depends on the outer hypervisor and VM configuration.
First checks
grep -c svm /proc/cpuinfo— AMD-V flag countgrep -o npt /proc/cpuinfo | head -1— NPT/RVI availablecat /sys/module/kvm_amd/parameters/nested— nested SVM enabled
Verify in this order
firmware SVM on → svm flag → kvm_amd loaded → guests run
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Virtualization Fundamentals → AMD-V reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| AMD-V / SVM | CPU privilege virtualization | Not device DMA remapping |
| Nested paging/NPT | Second-level address translation capability | Related memory-translation feature |
| Firmware SVM mode | Controls exposure to software | Vendor UI terminology varies |
| Nested exposure | Passes CPU virtualization inward | Support/configuration dependent |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3409