]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS: Add guest exit exception callback
authorJames Hogan <james.hogan@imgtec.com>
Tue, 14 Mar 2017 10:15:24 +0000 (10:15 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Tue, 28 Mar 2017 13:53:49 +0000 (14:53 +0100)
commit89d63295d86c1b7f9ca0af1e65aa8db3d6459964
tree0032efa2b42d2fa3785949eab03d877da51efc57
parentf216b1ebded708b0954a168b043d237373857422
KVM: MIPS: Add guest exit exception callback

Add a callback for MIPS KVM implementations to handle the VZ guest
exit exception. Currently the trap & emulate implementation contains a
stub which reports an internal error, but the callback will be used
properly by the VZ implementation.

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: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
arch/mips/include/asm/kvm_host.h
arch/mips/kvm/mips.c
arch/mips/kvm/trace.h
arch/mips/kvm/trap_emul.c