diff options
author | James Hogan <james.hogan@imgtec.com> | 2014-12-08 18:07:56 -0500 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2015-03-27 17:25:18 -0400 |
commit | 5fafd8748b366105e08c198892e9fe02ef15c021 (patch) | |
tree | e644c6cb5e4acdb1c1047022cd835d8695fd1028 /include/uapi/linux/kvm.h | |
parent | 379245cdf1d1efc1eccc38bf0cc985dae232123d (diff) |
MIPS: KVM: Wire up FPU capability
Now that the code is in place for KVM to support FPU in MIPS KVM guests,
wire up the new KVM_CAP_MIPS_FPU capability.
For backwards compatibility, the capability must be explicitly enabled
in order to detect or make use of the FPU from the guest.
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: Jonathan Corbet <corbet@lwn.net>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Cc: linux-api@vger.kernel.org
Cc: linux-doc@vger.kernel.org
Diffstat (limited to 'include/uapi/linux/kvm.h')
-rw-r--r-- | include/uapi/linux/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 1162ef7a3fa1..ce49688976d2 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h | |||
@@ -802,6 +802,7 @@ struct kvm_ppc_smmu_info { | |||
802 | #define KVM_CAP_S390_MEM_OP 108 | 802 | #define KVM_CAP_S390_MEM_OP 108 |
803 | #define KVM_CAP_S390_USER_STSI 109 | 803 | #define KVM_CAP_S390_USER_STSI 109 |
804 | #define KVM_CAP_S390_SKEYS 110 | 804 | #define KVM_CAP_S390_SKEYS 110 |
805 | #define KVM_CAP_MIPS_FPU 111 | ||
805 | 806 | ||
806 | #ifdef KVM_CAP_IRQ_ROUTING | 807 | #ifdef KVM_CAP_IRQ_ROUTING |
807 | 808 | ||