aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorEddie Dong <eddie.dong@intel.com>2009-03-26 03:28:40 -0400
committerAvi Kivity <avi@redhat.com>2009-06-10 04:48:34 -0400
commita8b876b1a469cb364fee16ba3aef01613a1231cc (patch)
tree13b6e8919135918b9c05a2b507810baa3add5624 /arch/x86/kvm
parentf9c617f61127615dd054f3f159213bdd12451cab (diff)
KVM: MMU: Fix comment in page_fault()
The original one is for the code before refactoring. Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com> Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/paging_tmpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h
index 855eb7111049..eae949973d09 100644
--- a/arch/x86/kvm/paging_tmpl.h
+++ b/arch/x86/kvm/paging_tmpl.h
@@ -379,7 +379,7 @@ static int FNAME(page_fault)(struct kvm_vcpu *vcpu, gva_t addr,
379 return r; 379 return r;
380 380
381 /* 381 /*
382 * Look up the shadow pte for the faulting address. 382 * Look up the guest pte for the faulting address.
383 */ 383 */
384 r = FNAME(walk_addr)(&walker, vcpu, addr, write_fault, user_fault, 384 r = FNAME(walk_addr)(&walker, vcpu, addr, write_fault, user_fault,
385 fetch_fault); 385 fetch_fault);