qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 10/12] config: Add header file for device config


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 10/12] config: Add header file for device config options
Date: Tue, 23 Nov 2010 19:21:28 +0000

On Tue, Nov 23, 2010 at 2:34 PM, Alexander Graf <address@hidden> wrote:
> So far we have C preprocessor defines for target and host config
> options, but we're lacking any information on which devices are
> available.
>
> We do need that information at times though, for example in the
> ahci patch where we need to call a legacy init function depending
> on whether we have support compiled in or not.
>
> So this patch makes all config-devices options available as header
> file. Please only include it in machine description code!

How about including config-devices.h from hw/boards.h instead? On the
downside, all targets will be recompiled when config-devices.h change,
even if they don't have any device dependencies.



reply via email to

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