RISC-V: Enable KVM in RV64 and RV32 defconfigs as a module
authorAnup Patel <anup.patel@wdc.com>
Wed, 17 Nov 2021 08:47:05 +0000 (14:17 +0530)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 19 Nov 2021 06:04:20 +0000 (22:04 -0800)
Let's enable KVM RISC-V in RV64 and RV32 defconfigs as module
so that it always built along with the default kernel image.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/configs/defconfig
arch/riscv/configs/rv32_defconfig

index c252fd5706d20db933a6873ce789d8b1ad66c5ef..ef473e2f503b2e1ff6a43f1ac61d1e81a9a80337 100644 (file)
@@ -19,6 +19,8 @@ CONFIG_SOC_VIRT=y
 CONFIG_SOC_MICROCHIP_POLARFIRE=y
 CONFIG_SMP=y
 CONFIG_HOTPLUG_CPU=y
+CONFIG_VIRTUALIZATION=y
+CONFIG_KVM=m
 CONFIG_JUMP_LABEL=y
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
index 434ef5b645998e926c81a7a1f01728bc131f3cde..6e9f12ff968acdfb0d65c119b48b9bfc660250ff 100644 (file)
@@ -19,6 +19,8 @@ CONFIG_SOC_VIRT=y
 CONFIG_ARCH_RV32I=y
 CONFIG_SMP=y
 CONFIG_HOTPLUG_CPU=y
+CONFIG_VIRTUALIZATION=y
+CONFIG_KVM=m
 CONFIG_JUMP_LABEL=y
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y