Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.


Microsoft Specific

This topic is new for Visual Studio 2005 SP1.

Starts execution of the virtual machine guest code that corresponds to the specified virtual machine control block (VMCB).

void __svm_vmrun(
   size_t VmcbPhysicalAddress


Parameter Description

[in] VmcbPhysicalAddress

The physical address of the VMCB.

The __svm_vmrun function uses a minimal amount of information in the VMCB to begin executing the virtual machine guest code. Use the __svm_vmsave or __svm_vmload function if you require more information to handle a complex interrupt or to switch to another guest.

The __svm_vmrun function is equivalent to the VMRUN 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.

Intrinsic Architecture


x86, x64

Header file <intrin.h>

END Microsoft Specific

Community Additions

© 2015 Microsoft