[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs nee
From: |
David Ahern |
Subject: |
Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files |
Date: |
Fri, 14 Jan 2011 13:47:12 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Lightning/1.0b3pre Thunderbird/3.1.7 |
On 01/14/11 13:31, Blue Swirl wrote:
> On Fri, Jan 14, 2011 at 8:24 PM, David Ahern <address@hidden> wrote:
>>
>>
>> On 01/14/11 13:17, Blue Swirl wrote:
>>> On Fri, Jan 14, 2011 at 7:12 PM, David Ahern <address@hidden> wrote:
>>>> Currently, device config settings in the default-configs file are not
>>>> propogated into the config*.h files. While the Makefile rules observe them
>>>> through the *.mak files, the CONFIG options are not usable within the .c
>>>> files.
>>>>
>>>> This patch adds the settings to the header files. To do that the host
>>>> devices make file is renamed to config-host-devices.mak and the target
>>>> devices mak file to config-target-devices.mak.
>>>
>>> NACK, see this thread for the previous discussion:
>>> http://lists.nongnu.org/archive/html/qemu-devel/2010-05/msg02268.html
>>
>> hmm.... so there is no interest in making the existing design actually
>> work? It's reinvent the config design or nothing?
>>
>> I'm looking to compile out all device models not relevant to my use case.
>
> That's OK, but the correct fix is to change the design of the machine
> model to something more advanced where the unwanted objects are simply
> not linked in, without any changes to board code. This is not so
> trivial and also many devices are not architecturally clean yet.
A lot of changes are need to obtain that goal, and I am not the right
person to do them. Until that ideal design can be developed and
implemented why not take a small patch that fixes the existing design?
It's not a major change -- a very small one actually (4 files, 13 lines
modified).
David
- [Qemu-devel] [PATCH 00/11] misc cleanups for use of config settings, David Ahern, 2011/01/14
- [Qemu-devel] [PATCH 01/11] fix 'no such file' error from make_device_config.sh, David Ahern, 2011/01/14
- [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files, David Ahern, 2011/01/14
- Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files, Blue Swirl, 2011/01/14
- Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files, David Ahern, 2011/01/14
- Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files, Blue Swirl, 2011/01/14
- Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files,
David Ahern <=
- Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files, Blue Swirl, 2011/01/14
- Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files, David Ahern, 2011/01/14
- Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files, Blue Swirl, 2011/01/14
- Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files, David Ahern, 2011/01/14
- [Qemu-devel] Re: [PATCH 02/11] config: settings from default-configs need to be included in header files, Paolo Bonzini, 2011/01/15
- [Qemu-devel] Re: [PATCH 02/11] config: settings from default-configs need to be included in header files, Blue Swirl, 2011/01/15
[Qemu-devel] [PATCH 03/11] config: fix compile for CONFIG_VMWARE_VGA=n, David Ahern, 2011/01/14
[Qemu-devel] [PATCH 04/11] config: fix compile for CONFIG_PARALLEL=n, David Ahern, 2011/01/14
[Qemu-devel] [PATCH 06/11] config: fix compile for CONFIG_NE2000_ISA=n, David Ahern, 2011/01/14
[Qemu-devel] [PATCH 05/11] remove unused parallel_* variables from pc.c, David Ahern, 2011/01/14