KVM: MIPS: Add hardware_{enable,disable} callback
authorJames Hogan <james.hogan@imgtec.com>
Tue, 14 Mar 2017 10:15:23 +0000 (10:15 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Tue, 28 Mar 2017 13:53:49 +0000 (14:53 +0100)
commitedab4fe1f6419fc3a1de3b134929ae2123bea3ad
tree96276ad80364be42514b6243b74a032954e04087
parent607ef2fdeb95ae63322321ca15b41f76870f48f1
KVM: MIPS: Add hardware_{enable,disable} callback

Add an implementation callback for the kvm_arch_hardware_enable() and
kvm_arch_hardware_disable() architecture functions, with simple stubs
for trap & emulate. This is in preparation for VZ which will make use of
them.

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: 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/trap_emul.c