Re: [PATCH V5 21/21] KVM: compat: riscv: Prevent KVM_COMPAT from being selected

From: Paolo Bonzini
Date: Tue Feb 01 2022 - 11:01:02 EST


On 2/1/22 16:44, Anup Patel wrote:
+Paolo

On Tue, Feb 1, 2022 at 8:38 PM <guoren@xxxxxxxxxx> wrote:

From: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxx>
Signed-off-by: Guo Ren <guoren@xxxxxxxxxx>
Cc: Arnd Bergmann <arnd@xxxxxxxx>
Cc: Anup Patel <anup@xxxxxxxxxxxxxx>

This looks good to me.

Reviewed-by: Anup Patel <anup@xxxxxxxxxxxxxx>

Hi Anup,

feel free to send this via a pull request (perhaps together with Mark Rutland's entry/exit rework).

Paolo