Top Qs
Timeline
Chat
Perspective
List of x86 virtualization instructions
From Wikipedia, the free encyclopedia
Remove ads
Instruction set extensions that have been added to the x86 instruction set in order to support hardware virtualization. These extensions provide instructions for entering and leaving a virtualized execution context and for loading virtual-machine control structures (VMCSs), which hold the state of the guest and host, along with fields which control processor behavior within the virtual machine.
![]() | This article may be too technical for most readers to understand. (July 2024) |
Remove ads
AMD-V instructions
- The
VMRUN
instruction will load only a limited subset of CPU state -VMLOAD
should be run beforeVMRUN
to load additional state.
Similarly, #VMEXIT will store only a limited amount of guest state to the VMCB, andVMSAVE
is needed to store additional state.
For simple intercept conditions where the VMM doesn't need to make use of the state items handled byVMSAVE
/VMLOAD
, the VMM may improve performance by abstaining from performingVMSAVE
/VMLOAD
before re-entering the virtual machine withVMRUN
. - On CPUs that support VMLOAD/VMSAVE virtualization (Excavator and later), the
VMLOAD
andVMSAVE
instructions can be executed in guest mode as well. - On CPUs that support Virtual GIF (Excavator and later), the
STGI
andCLGI
instructions can be executed in guest mode as well.
Remove ads
Intel VT-x instructions
Summarize
Perspective
Intel virtualization instructions. VT-x is also supported on some processors from VIA and Zhaoxin.
- The m64 argument to
VMXON
is the 64-bit physical address to a "VMXON region", which is a 4Kbyte region that must be 4 Kbyte aligned. This region may be used by the processor to support VMX operation in an implementation-dependent manner and should never be accessed by software until the processor has left VMX operation through theVMXOFF
instruction. - If "VMCS Shadowing" is enabled (available on Haswell and later), the
VMREAD
andVMWRITE
instructions can be executed by the guest as well.
Remove ads
References
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads