Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315830
b: refs/heads/master
c: b38f993
h: refs/heads/master
v: v3
  • Loading branch information
Xudong Hao authored and Avi Kivity committed Jun 5, 2012
1 parent 51f889f commit c71b55e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 83c3a3312235220476d3c207f67bd17be6e17ff9
refs/heads/master: b38f99347871d7fc49e6367395dce0d757f6ab8d
2 changes: 2 additions & 0 deletions trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -3039,6 +3039,8 @@ static u64 construct_eptp(unsigned long root_hpa)
/* TODO write the value reading from MSR */
eptp = VMX_EPT_DEFAULT_MT |
VMX_EPT_DEFAULT_GAW << VMX_EPT_GAW_EPTP_SHIFT;
if (enable_ept_ad_bits)
eptp |= VMX_EPT_AD_ENABLE_BIT;
eptp |= (root_hpa & PAGE_MASK);

return eptp;
Expand Down

0 comments on commit c71b55e

Please sign in to comment.