[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring |
Date: |
Mon, 04 Feb 2013 19:06:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
Il 04/02/2013 18:57, Andreas Färber ha scritto:
>> > I haven't thought of a way to ensure patch 19 is safe, apart from trusting
>> > the poisoning mechanism. [...]
> I've wondered, is it possible it poison from the Makefile? Then we could
> forbid that the whole of common-obj-y uses CONFIG_USER_ONLY or
> CONFIG_SOFTMMU for instance.
Indirectly it's possible, with something like
$(common-obj-y): QEMU_CFLAGS += -include exec/poison.h
It's very similar to what we do already in fact:
QEMU_CFLAGS += -I.. -I$(SRC_PATH)/target-$(TARGET_BASE_ARCH) -DNEED_CPU_H
is in Makefile.target, and $(common-obj-y) is compiled outside
Makefile.target so it doesn't get NEED_CPU_H.
Paolo
- Re: [Qemu-devel] [PATCH 18/19] hw: remove CPU dependencies, (continued)
- [Qemu-devel] [PATCH 13/19] hw: move boards and some devices to hw/ARCH, Paolo Bonzini, 2013/02/04
- [Qemu-devel] [PATCH 14/19] hw: use default-configs for more devices instead of hw/ARCH/Makefile.objs, Paolo Bonzini, 2013/02/04
- [Qemu-devel] [PATCH 09/19] hw: include hw header files with full paths, Paolo Bonzini, 2013/02/04
- [Qemu-devel] [PATCH 10/19] hw: move some header files to include/, Paolo Bonzini, 2013/02/04
- [Qemu-devel] [PATCH 16/19] MAINTAINERS: update fo r source code movement, Paolo Bonzini, 2013/02/04
- Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring, Andreas Färber, 2013/02/04
- Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring,
Paolo Bonzini <=
- Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring, Peter Maydell, 2013/02/04
- Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring, Paolo Bonzini, 2013/02/04
- Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring, Peter Maydell, 2013/02/04
- Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring, Paolo Bonzini, 2013/02/04
- Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring, Peter Maydell, 2013/02/04
- Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring, Paolo Bonzini, 2013/02/05
- Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring, Andreas Färber, 2013/02/05
- Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring, Paolo Bonzini, 2013/02/05
- Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring, Peter Maydell, 2013/02/05
- Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring, Andreas Färber, 2013/02/05