Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329917
b: refs/heads/master
c: edc2ae8
h: refs/heads/master
i:
  329915: 18b2734
v: v3
  • Loading branch information
Avi Kivity committed Sep 20, 2012
1 parent 39396d3 commit 989a233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 8ea667f259e3767fd3ee85a885c14e417835695e
refs/heads/master: edc2ae84eb40a3c062210fe01af1cae1633cc810
4 changes: 1 addition & 3 deletions trunk/arch/x86/kvm/paging_tmpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,8 @@ static unsigned FNAME(gpte_access)(struct kvm_vcpu *vcpu, pt_element_t gpte)
unsigned access;

access = (gpte & (PT_WRITABLE_MASK | PT_USER_MASK)) | ACC_EXEC_MASK;

#if PTTYPE == 64
if (vcpu->arch.mmu.nx)
access &= ~(gpte >> PT64_NX_SHIFT);
access &= ~(gpte >> PT64_NX_SHIFT);
#endif
return access;
}
Expand Down

0 comments on commit 989a233

Please sign in to comment.