diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-01-04 11:00:36 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-02-08 08:45:35 -0500 |
commit | a6d5433801c6629cda6cda6d8bdaefc204953abf (patch) | |
tree | bd0c86e3f349d1781a7abe87d328b46aed1efbd7 /arch/mips/kvm | |
parent | 61df71ee992d57ee2b7fdb802802c4268969409f (diff) | |
download | linux-stable-a6d5433801c6629cda6cda6d8bdaefc204953abf.tar.gz linux-stable-a6d5433801c6629cda6cda6d8bdaefc204953abf.tar.bz2 linux-stable-a6d5433801c6629cda6cda6d8bdaefc204953abf.zip |
MIPS: introduce Kconfig for MIPS VZ
Since MIPS/KVM only supports hardware virtualization using MIPS VZ,
do not enable KVM blindly. Use a new Kconfig symbol CPU_SUPPORTS_VZ
and do not enable it for R2 processors.
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/kvm')
-rw-r--r-- | arch/mips/kvm/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kvm/Kconfig b/arch/mips/kvm/Kconfig index 18e7a17d5115..8916b3ed0f90 100644 --- a/arch/mips/kvm/Kconfig +++ b/arch/mips/kvm/Kconfig @@ -17,7 +17,7 @@ if VIRTUALIZATION config KVM tristate "Kernel-based Virtual Machine (KVM) support" - depends on HAVE_KVM + depends on CPU_SUPPORTS_VZ depends on MIPS_FP_SUPPORT select EXPORT_UASM select KVM_COMMON |