Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172337
b: refs/heads/master
c: 046d871
h: refs/heads/master
i:
  172335: 41ba9cf
v: v3
  • Loading branch information
Sheng Yang authored and Avi Kivity committed Dec 3, 2009
1 parent c67fefc commit 5742c2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb3c79e64a70fb8f7473e30fa07e89c1ecc2c9bb
refs/heads/master: 046d87103addc117f0d397196e85189722d4d7de
4 changes: 3 additions & 1 deletion trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2309,8 +2309,10 @@ static int vmx_vcpu_setup(struct vcpu_vmx *vmx)
~SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES;
if (vmx->vpid == 0)
exec_control &= ~SECONDARY_EXEC_ENABLE_VPID;
if (!enable_ept)
if (!enable_ept) {
exec_control &= ~SECONDARY_EXEC_ENABLE_EPT;
enable_unrestricted_guest = 0;
}
if (!enable_unrestricted_guest)
exec_control &= ~SECONDARY_EXEC_UNRESTRICTED_GUEST;
if (!ple_gap)
Expand Down

0 comments on commit 5742c2d

Please sign in to comment.