Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1362744

Re: [PATCH] kvm: Fix build error caused by redefinition

From Pranith Kumar <bobby.prani@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] kvm: Fix build error caused by redefinition
Date 2016-03-22 14:30 +0100
Message-ID <rfuxI-4WW-11@gated-at.bofh.it> (permalink)
References <reh9w-2XE-7@gated-at.bofh.it> <rf8GT-6NS-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Paolo,

Paolo Bonzini writes:

>
> Please test this instead:

This patch works for me. Please feel free to add:

Tested-by: Pranith Kumar <bobby.prani@gmail.com>

>
> diff --git a/arch/powerpc/kvm/Makefile b/arch/powerpc/kvm/Makefile
> index 7f7b6d86ac73..eba0bea6e032 100644
> --- a/arch/powerpc/kvm/Makefile
> +++ b/arch/powerpc/kvm/Makefile
> @@ -8,7 +8,8 @@ ccflags-y := -Ivirt/kvm -Iarch/powerpc/kvm
>  KVM := ../../../virt/kvm
>
>  common-objs-y = $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o \
> -		$(KVM)/eventfd.o $(KVM)/vfio.o
> +		$(KVM)/eventfd.o
> +common-objs-$(CONFIG_KVM_VFIO) += $(KVM)/vfio.o
>
>  CFLAGS_e500_mmu.o := -I.
>  CFLAGS_e500_mmu_host.o := -I.
>
>
> Paolo


-- 
Pranith

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] kvm: Fix build error caused by redefinition Pranith Kumar <bobby.prani@gmail.com> - 2016-03-19 06:00 +0100
  Re: [PATCH] kvm: Fix build error caused by redefinition Paolo Bonzini <pbonzini@redhat.com> - 2016-03-21 15:10 +0100
    Re: [PATCH] kvm: Fix build error caused by redefinition Pranith Kumar <bobby.prani@gmail.com> - 2016-03-22 14:30 +0100

csiph-web