[Top][All Lists]
[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: |
Alexander Graf |
Subject: |
[Qemu-devel] Re: [PATCH 01/17] Only build ivshmem when CONFIG_PCI && CONFIG_KVM |
Date: |
Fri, 25 Mar 2011 12:04:34 +0100 |
On 24.03.2011, at 22:46, Juan Quintela wrote:
> 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.
So what would you recommend? The current dependency is just plain wrong :).
Alex
- Re: [Qemu-devel] [PATCH 05/17] s390x: enable CPU_QuadU, (continued)
- [Qemu-devel] [PATCH 09/17] s390x: Dispatch interrupts to KVM or the real CPU, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 08/17] s390x: Enable s390x-softmmu target, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 04/17] s390x: Enable nptl for s390x, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 02/17] virtio: use generic name when possible, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 11/17] s390x: virtio machine storage keys, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 15/17] s390x: Adjust internal kvm code, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 01/17] Only build ivshmem when CONFIG_PCI && CONFIG_KVM, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 07/17] linux-user: define a couple of syscalls for non-uid16 targets, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 17/17] s390x: build s390x by default, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 10/17] s390x: Adjust GDB stub, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 03/17] s390x: Enable disassembler for s390x, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 12/17] s390x: Prepare cpu.h for emulation, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 13/17] s390x: helper functions for system emulation, Alexander Graf, 2011/03/24