共用方式為


__svm_vmsave

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at __svm_vmsave.

Microsoft Specific**

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

Syntax

void __svm_vmsave(  
   size_t VmcbPhysicalAddress  
);  

Parameters

Parameter Description
[in] VmcbPhysicalAddress The physical address of the VMCB.

Remarks

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.

Requirements

Intrinsic Architecture
__svm_vmsave x86, x64

Header file <intrin.h>

END Microsoft Specific

See Also

Compiler Intrinsics
__svm_vmrun
__svm_vmload