Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80655
b: refs/heads/master
c: cc70e73
h: refs/heads/master
i:
  80653: 535cedd
  80651: 9e95987
  80647: 3a3c3b9
  80639: 4ec94cc
v: v3
  • Loading branch information
Avi Kivity committed Jan 30, 2008
1 parent 89467f3 commit fedca51
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: c22e3514fceb2f514093ce1d19a2f660ac7347ae
refs/heads/master: cc70e7374df1e3a56d718e8ca330619f316511a6
2 changes: 2 additions & 0 deletions trunk/drivers/kvm/paging_tmpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ static u64 *FNAME(fetch)(struct kvm_vcpu *vcpu, gva_t addr,
metaphysical = 1;
hugepage_access = walker->pte;
hugepage_access &= PT_USER_MASK | PT_WRITABLE_MASK;
if (!is_dirty_pte(walker->pte))
hugepage_access &= ~PT_WRITABLE_MASK;
hugepage_access >>= PT_WRITABLE_SHIFT;
if (walker->pte & PT64_NX_MASK)
hugepage_access |= (1 << 2);
Expand Down

0 comments on commit fedca51

Please sign in to comment.