]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: KVM: Dump guest tlbs if kvm_get_inst() fails
authorJames Hogan <james.hogan@imgtec.com>
Tue, 14 Jun 2016 08:40:16 +0000 (09:40 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Jun 2016 09:16:25 +0000 (11:16 +0200)
commite6f6c738baa783f7d04dd59a95b4e4178dbf409d
treeb57868327d1896a6370935928f51f90eec4d6346
parent542c55ef9aa6155c06de7a7a237368df4078282f
MIPS: KVM: Dump guest tlbs if kvm_get_inst() fails

If kvm_get_inst() fails to find a guest TLB mapping for the guest PC
then dump the guest TLB entries. The contents of the guest TLB is likely
to be more interesting than the host TLB entries.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: kvm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/mmu.c