MIPS: KVM: Implement PRid CP0 register access
authorJames Hogan <james.hogan@imgtec.com>
Thu, 26 Jun 2014 12:56:52 +0000 (13:56 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 27 Mar 2015 21:25:08 +0000 (21:25 +0000)
Implement access to the guest Processor Identification CP0 register
using the KVM_GET_ONE_REG and KVM_SET_ONE_REG ioctls. This allows the
owning process to modify and read back the value that is exposed to the
guest in this register.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Documentation/virtual/kvm/api.txt
arch/mips/include/asm/kvm_host.h
arch/mips/kvm/mips.c

Simple merge
Simple merge
Simple merge