Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.65 KB

svm-vmrun.md

File metadata and controls

48 lines (33 loc) · 1.65 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: __svm_vmrun
__svm_vmrun
09/02/2019
__svm_vmrun
__svm_vmrun intrinsic
VMRUN instruction
ae98a781-fc17-47b2-b40f-86fcebf1867b

__svm_vmrun

Microsoft Specific

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

Syntax

void __svm_vmrun(
   size_t VmcbPhysicalAddress
);

Parameters

VmcbPhysicalAddress
[in] The physical address of the VMCB.

Remarks

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.

Requirements

Intrinsic Architecture
__svm_vmrun x86, x64

Header file <intrin.h>

END Microsoft Specific

See also

Compiler intrinsics
__svm_vmsave
__svm_vmload