Displaying 2 results from an estimated 2 matches for "vmxoff".
Did you mean:
ixoff
2006 Sep 29
1
[PATCH] hvm: clear vmxe if vmxoff
hvm: clear vmxe if vmxoff
The current Xen code keeps X86_CR4_VMXE set even if VMXON has not been
executed. The stop_vmx() code assumes that it is possible to call VMXOFF
if X86_CR4_VMXE is set which is not always true. Calling VMXOFF without
VMXON results in an illegal opcode trap, and to avoid this condition this
patch...
2008 Jan 11
4
GP exception on vmxon
..._FEATURE_CONTROL_MSR, result is 0x05, so bit 0
and bit 2 are both 1.
c. Set cr4.vmxe (bit13) to 1
d. Call vmx_init_vmcs_config(). This function is the same
as in xen3.1.0.
e. Call vmxon, passing it the physical adderss calculated
in step2, using the same op-code as xen
f. stop vmx by calling vmxoff.
Using "while(1)", I traced and found the GP exception happened in step
4.e.
>From Intel Software Development Manual 2B, I get the following
conditions to throw a GP.
IF (CPL > 0) or (in A20M mode) or
(the values of CR0 and CR4 are supported in VMX operation) or
(bit 0 (...