Pcornel
Virtualization · Virtualization Fundamentals

AMD-V

Cheat sheet · https://pcornel.dk/topic.php?topic=3409

Back to the Topic

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 count
  • grep -o npt /proc/cpuinfo | head -1 — NPT/RVI available
  • cat /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

BoundaryMeaningEvidence limit
AMD-V / SVMCPU privilege virtualizationNot device DMA remapping
Nested paging/NPTSecond-level address translation capabilityRelated memory-translation feature
Firmware SVM modeControls exposure to softwareVendor UI terminology varies
Nested exposurePasses CPU virtualization inwardSupport/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

Confirmation

Confirm action

Continue?