qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 01/17] Only build ivshmem when CONFIG_PCI && CON


From: Juan Quintela
Subject: [Qemu-devel] Re: [PATCH 01/17] Only build ivshmem when CONFIG_PCI && CONFIG_KVM
Date: Thu, 24 Mar 2011 22:46:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Alexander Graf <address@hidden> wrote:
> The ivshmem depends on PCI and KVM, not only KVM. Reflect this
> in the Makefile, so we don't get build errors on s390x.
>
> Signed-off-by: Alexander Graf <address@hidden>
> ---
>  Makefile.target |    8 +++++++-
>  1 files changed, 7 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile.target b/Makefile.target
> index f0df98e..17ad396 100644
> --- a/Makefile.target
> +++ b/Makefile.target
> @@ -209,7 +209,13 @@ QEMU_CFLAGS += $(VNC_PNG_CFLAGS)
>  obj-$(CONFIG_XEN) += xen_machine_pv.o xen_domainbuild.o
>  
>  # Inter-VM PCI shared memory
> -obj-$(CONFIG_KVM) += ivshmem.o
> +CONFIG_IVSHMEM =
> +ifeq ($(CONFIG_KVM), y)
> +  ifeq ($(CONFIG_PCI), y)
> +    CONFIG_IVSHMEM = y
> +  endif
> +endif
> +obj-$(CONFIG_IVSHMEM) += ivshmem.o

This shouldn't be here.  Proper place is at ./configure, or better yet
at defaults/x86_64-softmmu.mak

CONFIG_IVSHMEM=y

It is complicated though, because we depend on PCI and KVM.

Later, Juan.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]