SVM

From OSDev Wiki
Jump to navigation Jump to search

This article is a stub! This page or section is a stub. You can help the wiki by accurately contributing to it.

AMD's Secure Virtual Machine is AMD's counterpart to Intel's VMX instructions.

Programming

Discovering support

After enumerating the features from CPUID, page 0x80000001, bit 2 in ECX indicates support for SVM.

Next, the VM_CR MSR (0xC00010114) needs to be consulted. Bit 4, SVMDIS, must be zero. If set, the CPU supports SVM, but it has been disabled by the platform firmware.


Basic environment

Software should enable bit 12 of EFER (EFER.SVME) first.

References