qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

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