aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuo Ren <[email protected]>2022-02-01 23:05:45 +0800
committerAnup Patel <[email protected]>2022-03-11 19:02:15 +0530
commitafec0c65d09d8fd6bba3e936e95fe6a60b78e001 (patch)
tree62ed5bb607220a57ef90ff5cb610a165ee23ea17
parent8eb3e1b923fdb74995294c78ef6bba3d11dc6434 (diff)
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 <[email protected]> Signed-off-by: Guo Ren <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Anup Patel <[email protected]> Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Anup Patel <[email protected]>
-rw-r--r--virt/kvm/Kconfig2
1 files changed, 1 insertions, 1 deletions
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