MIPS: KVM: Limit Trap-and-Emulate to MIPS32R2 only
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Fri, 10 Jul 2020 06:30:17 +0000 (14:30 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Jul 2020 07:15:38 +0000 (03:15 -0400)
commit01edc5e76ecfecf9a79eec2658f6146ef47bc816
tree901e83add6f5df635abd85c4452d380d2361f385
parent380f3a8b6360442508321026f9dc7f8507a7f526
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>
arch/mips/Kconfig
arch/mips/kvm/Kconfig