Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329925
b: refs/heads/master
c: c542151
h: refs/heads/master
i:
  329923: 2646baa
v: v3
  • Loading branch information
Avi Kivity committed Sep 20, 2012
1 parent da12cec commit 5469779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: b514c30f7729b66af481fde3c1225e832e339d5b
refs/heads/master: c5421519f30bd5ed77857a78de6dc8414385e602
5 changes: 1 addition & 4 deletions trunk/arch/x86/kvm/paging_tmpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ static int FNAME(walk_addr_generic)(struct guest_walker *walker,
u16 errcode = 0;
gpa_t real_gpa;
gfn_t gfn;
u32 ac;

trace_kvm_mmu_pagetable_walk(addr, access);
retry_walk:
Expand Down Expand Up @@ -242,9 +241,7 @@ static int FNAME(walk_addr_generic)(struct guest_walker *walker,
if (PTTYPE == 32 && walker->level == PT_DIRECTORY_LEVEL && is_cpuid_PSE36())
gfn += pse36_gfn_delta(pte);

ac = write_fault | fetch_fault | user_fault;

real_gpa = mmu->translate_gpa(vcpu, gfn_to_gpa(gfn), ac);
real_gpa = mmu->translate_gpa(vcpu, gfn_to_gpa(gfn), access);
if (real_gpa == UNMAPPED_GVA)
return 0;

Expand Down

0 comments on commit 5469779

Please sign in to comment.