diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-07-10 14:30:17 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-10 03:15:38 -0400 |
commit | 01edc5e76ecfecf9a79eec2658f6146ef47bc816 (patch) | |
tree | 901e83add6f5df635abd85c4452d380d2361f385 /arch/mips/Kconfig | |
parent | 380f3a8b6360442508321026f9dc7f8507a7f526 (diff) |
MIPS: KVM: Limit Trap-and-Emulate to MIPS32R2 only
After tons of fixes to get Trap-and-Emulate build on Loongson64,
I've got panic on host machine when trying to run a VM.
I found that it can never work on 64bit systems. Revewing the
code, it looks like R6 can't supportrd by TE as well.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20200710063047.154611-3-jiaxun.yang@flygoat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 6fee1a133e9d..2efc34ed94eb 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2202,6 +2202,7 @@ endchoice config KVM_GUEST bool "KVM Guest Kernel" + depends on CPU_MIPS32_R2 depends on BROKEN_ON_SMP help Select this option if building a guest kernel for KVM (Trap & Emulate) |