This documentation is archived and is not being maintained.


Microsoft Specific

This topic is new for Visual Studio 2005 SP1.

Stores a subset of processor state in the specified virtual machine control block (VMCB).

void __svm_smsave(
   size_t VmcbPhysicalAddress



[in] VmcbPhysicalAddress

The physical address of the VMCB.

The __svm_vmsave function is equivalent to the VMSAVE machine instruction. This function supports the interaction of a host's virtual machine monitor with a guest operating system and its applications. For more information, search for the document, "AMD64 Architecture Programmer's Manual Volume 2: System Programming," document number 24593, revision 3.11 or later, at the AMD Corporation site.




x86, x64

Header file <intrin.h>