From: Guo Ren <guoren@linux.alibaba.com> Date: Tue, 1 Feb 2022 15:05:45 +0000 (+0800) Subject: KVM: compat: riscv: Prevent KVM_COMPAT from being selected X-Git-Tag: howlett/maple/20220722_2~941^2~9^2~7 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=afec0c65d09d8fd6bba3e936e95fe6a60b78e001;p=users%2Fjedix%2Flinux-maple.git KVM: compat: riscv: Prevent KVM_COMPAT from being selected Current riscv doesn't support the 32bit KVM API. Let's make it clear by not selecting KVM_COMPAT. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Signed-off-by: Guo Ren <guoren@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Anup Patel <anup@brainfault.org> Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Anup Patel <anup@brainfault.org> --- diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig index f4834c20e4a6..a8c5c9f06b3c 100644 --- a/virt/kvm/Kconfig +++ b/virt/kvm/Kconfig @@ -53,7 +53,7 @@ config KVM_GENERIC_DIRTYLOG_READ_PROTECT config KVM_COMPAT def_bool y - depends on KVM && COMPAT && !(S390 || ARM64) + depends on KVM && COMPAT && !(S390 || ARM64 || RISCV) config HAVE_KVM_IRQ_BYPASS bool