Skip to content

Commit

Permalink
KVM: compat: riscv: Prevent KVM_COMPAT from being selected
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
guoren83 authored and avpatel committed Mar 11, 2022
1 parent 8eb3e1b commit afec0c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virt/kvm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit afec0c6

Please sign in to comment.