VMX: Difference between revisions

Jump to navigation Jump to search
1 byte added ,  15 years ago
m
formatting fix
[unchecked revision][unchecked revision]
(Added section on error checking for VMX instructions, a short VMCS introduction and some notes on instruction requirements)
m (formatting fix)
Line 54:
A VMCS is loaded with the VMPTRLD instruction, which loads and activates a VMCS, and requires a 64-bit memory address as it's operand in the same format as VMXON/VMCLEAR.
 
asm volatile ("vmptrld %0; ":: "m" (vmcsRegion64));
 
The structure of the VMCS is covered in detail in Chapter 20 of the Intel SDM volume 3B (see link below). Field encodings for VMWRITE and VMREAD are covered in Appendix H of the same manual.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu