__vmx_on
Microsoft Specific
Activates virtual machine extensions (VMX) operation in the processor.
Syntax
unsigned char __vmx_on(
unsigned __int64 *VmxonRegionPhysicalAddress
);
Parameters
VmxonRegionPhysicalAddress
[in] A pointer to a 64-bit, 4KB-aligned physical address that points to a VMXON region.
Return value
Value | Meaning |
---|---|
0 | The operation succeeded. |
1 | The operation failed with extended status available in the VM-instruction error field of the current VMCS. |
2 | The operation failed without status available. |
Remarks
The __vmx_on
function corresponds to the VMXON
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, see "Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 3C: System Programming Guide, Part 3" in the Intel 64 and IA-32 Architecture Developer Manuals.
Requirements
Intrinsic | Architecture |
---|---|
__vmx_on |
x64 |
Header file <intrin.h>
END Microsoft Specific
See also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho