Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179957
b: refs/heads/master
c: a6085fb
h: refs/heads/master
i:
  179955: 9541896
v: v3
  • Loading branch information
Marcelo Tosatti committed Jan 25, 2010
1 parent 8395fd1 commit 99dca28
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: d72118cecabbb76b96b77107a50c74d1bb36c0c1
refs/heads/master: a6085fbaf65ab09bfb5ec8d902d6d21680fe1895
4 changes: 3 additions & 1 deletion trunk/arch/x86/kvm/paging_tmpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ static int FNAME(walk_addr)(struct guest_walker *walker,
walker->table_gfn[walker->level - 1] = table_gfn;
walker->pte_gpa[walker->level - 1] = pte_gpa;

kvm_read_guest(vcpu->kvm, pte_gpa, &pte, sizeof(pte));
if (kvm_read_guest(vcpu->kvm, pte_gpa, &pte, sizeof(pte)))
goto not_present;

trace_kvm_mmu_paging_element(pte, walker->level);

if (!is_present_gpte(pte))
Expand Down

0 comments on commit 99dca28

Please sign in to comment.