KVM: MIPS: Add 64BIT capability
authorJames Hogan <james.hogan@imgtec.com>
Tue, 14 Mar 2017 10:15:20 +0000 (10:15 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Tue, 28 Mar 2017 13:53:47 +0000 (14:53 +0100)
commit578fd61d2d210a3b58dc107f5382b965922ac253
tree57b7002cc0f04c8586e8820791f74dc86dc73b8c
parenta8a3c426772e55ae9c3209f061cb6317268f932c
KVM: MIPS: Add 64BIT capability

Add a new KVM_CAP_MIPS_64BIT capability to indicate that 64-bit MIPS
guests are available and supported. In this case it should still be
possible to run 32-bit guest code. If not available it won't be possible
to run 64-bit guest code and the instructions may not be available, or
the kernel may not support full context switching of 64-bit registers.

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: Jonathan Corbet <corbet@lwn.net>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Cc: linux-doc@vger.kernel.org
Documentation/virtual/kvm/api.txt
include/uapi/linux/kvm.h