[PATCH v5 05/12] KVM: RISC-V: Use Makefile.kvm for common files

Anup Patel anup at brainfault.org
Tue Nov 23 01:12:21 PST 2021


On Sun, Nov 21, 2021 at 6:25 PM David Woodhouse <dwmw2 at infradead.org> wrote:
>
> From: David Woodhouse <dwmw at amazon.co.uk>
>
> Signed-off-by: David Woodhouse <dwmw at amazon.co.uk>

Looks good to me.

For KVM RISC-V,
Acked-by: Anup Patel <anup.patel at wdc.com>
Reviewed-by: Anup Patel <anup.patel at wdc.com>

Thanks,
Anup

> ---
>  arch/riscv/kvm/Makefile | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/arch/riscv/kvm/Makefile b/arch/riscv/kvm/Makefile
> index 30cdd1df0098..300590225348 100644
> --- a/arch/riscv/kvm/Makefile
> +++ b/arch/riscv/kvm/Makefile
> @@ -5,14 +5,10 @@
>
>  ccflags-y += -I $(srctree)/$(src)
>
> -KVM := ../../../virt/kvm
> +include $(srctree)/virt/kvm/Makefile.kvm
>
>  obj-$(CONFIG_KVM) += kvm.o
>
> -kvm-y += $(KVM)/kvm_main.o
> -kvm-y += $(KVM)/coalesced_mmio.o
> -kvm-y += $(KVM)/binary_stats.o
> -kvm-y += $(KVM)/eventfd.o
>  kvm-y += main.o
>  kvm-y += vm.o
>  kvm-y += vmid.o
> --
> 2.31.1
>



More information about the kvm-riscv mailing list