aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2008-05-21 19:22:55 -0400
committerAvi Kivity <avi@qumranet.com>2008-06-06 14:22:41 -0400
commit9dcb40e1aa5bfe7d6ffc729f3c2b6c8f1392d2d3 (patch)
treeef8513b13b0b7b28d4e090b7f4165a3d1b81a020 /arch/powerpc/kvm
parent905fa4b9d6e2c9fd1c9ad84e3abe83021f498f53 (diff)
KVM: ppc: Report bad GFNs
This code shouldn't be hit anyways, but when it is, it's useful to have a little more information about the failure. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/powerpc/kvm')
-rw-r--r--arch/powerpc/kvm/44x_tlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/44x_tlb.c b/arch/powerpc/kvm/44x_tlb.c
index 1c48d6164bd5..75dff7cfa814 100644
--- a/arch/powerpc/kvm/44x_tlb.c
+++ b/arch/powerpc/kvm/44x_tlb.c
@@ -145,7 +145,7 @@ void kvmppc_mmu_map(struct kvm_vcpu *vcpu, u64 gvaddr, gfn_t gfn, u64 asid,
145 down_read(&current->mm->mmap_sem); 145 down_read(&current->mm->mmap_sem);
146 new_page = gfn_to_page(vcpu->kvm, gfn); 146 new_page = gfn_to_page(vcpu->kvm, gfn);
147 if (is_error_page(new_page)) { 147 if (is_error_page(new_page)) {
148 printk(KERN_ERR "Couldn't get guest page!\n"); 148 printk(KERN_ERR "Couldn't get guest page for gfn %lx!\n", gfn);
149 kvm_release_page_clean(new_page); 149 kvm_release_page_clean(new_page);
150 up_read(&current->mm->mmap_sem); 150 up_read(&current->mm->mmap_sem);
151 return; 151 return;