Message ID | 20190904161245.111924-3-anup.patel@wdc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | RISC-V: Enable KVM for RV64 and RV32 | expand |
On Wed, Sep 4, 2019 at 9:43 PM Anup Patel <Anup.Patel@wdc.com> wrote: > > DO NOT UPSTREAM !!!!! > > Signed-off-by: Anup Patel <anup.patel@wdc.com> > --- > arch/riscv/configs/defconfig | 2 ++ > arch/riscv/configs/rv32_defconfig | 2 ++ > 2 files changed, 4 insertions(+) > > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig > index 420a0dbef386..320a7f1da4fc 100644 > --- a/arch/riscv/configs/defconfig > +++ b/arch/riscv/configs/defconfig > @@ -16,6 +16,8 @@ CONFIG_EXPERT=y > CONFIG_BPF_SYSCALL=y > CONFIG_SOC_SIFIVE=y > CONFIG_SMP=y > +CONFIG_VIRTUALIZATION=y > +CONFIG_KVM=y > CONFIG_MODULES=y > CONFIG_MODULE_UNLOAD=y > CONFIG_NET=y > diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv32_defconfig > index 87ee6e62b64b..6223e47cc5f0 100644 > --- a/arch/riscv/configs/rv32_defconfig > +++ b/arch/riscv/configs/rv32_defconfig > @@ -16,6 +16,8 @@ CONFIG_EXPERT=y > CONFIG_BPF_SYSCALL=y > CONFIG_ARCH_RV32I=y > CONFIG_SMP=y > +CONFIG_VIRTUALIZATION=y > +CONFIG_KVM=y > CONFIG_MODULES=y > CONFIG_MODULE_UNLOAD=y > CONFIG_NET=y > -- > 2.17.1 > Please ignore this patch. The KVM RISC-V should be disabled by default since it's experimental currently. Regards, Anup
diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index 420a0dbef386..320a7f1da4fc 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -16,6 +16,8 @@ CONFIG_EXPERT=y CONFIG_BPF_SYSCALL=y CONFIG_SOC_SIFIVE=y CONFIG_SMP=y +CONFIG_VIRTUALIZATION=y +CONFIG_KVM=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_NET=y diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv32_defconfig index 87ee6e62b64b..6223e47cc5f0 100644 --- a/arch/riscv/configs/rv32_defconfig +++ b/arch/riscv/configs/rv32_defconfig @@ -16,6 +16,8 @@ CONFIG_EXPERT=y CONFIG_BPF_SYSCALL=y CONFIG_ARCH_RV32I=y CONFIG_SMP=y +CONFIG_VIRTUALIZATION=y +CONFIG_KVM=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_NET=y
DO NOT UPSTREAM !!!!! Signed-off-by: Anup Patel <anup.patel@wdc.com> --- arch/riscv/configs/defconfig | 2 ++ arch/riscv/configs/rv32_defconfig | 2 ++ 2 files changed, 4 insertions(+)