[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 10/12] config: Add header file for device config
From: |
Juan Quintela |
Subject: |
[Qemu-devel] Re: [PATCH 10/12] config: Add header file for device config options |
Date: |
Wed, 24 Nov 2010 03:22:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
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!
>
> Signed-off-by: Alexander Graf <address@hidden>
This already existed in the past, Paul Brook reverted it.
commit a992fe3d0fc185112677286f7a02204d8245b61e
Author: Paul Brook <address@hidden>
Date: Sun Nov 22 16:25:30 2009 +0000
Makefile dependencies for device configs
I did the 1st implementation, and I tried to get it back several times.
Paul Brook reasoning is that "if you need it, our device model is wrong.
If you show that you want to be able to compile out several devices, ...
Paul Brook: "if you need it, our device model is wrong"
If you don't want to have the abomination of xen-stub.c kvm-stub.c,
etc....
Paul Brook: "if you need it, our device model is wrong".
Last time I tried to get it back was to be able to compile out hpet (it
didn't worked well at the time).
I let you guess how it ended.
Later, Juan.
- [Qemu-devel] [PATCH 00/12] AHCI emulation support v4, Alexander Graf, 2010/11/23
- [Qemu-devel] [PATCH 05/12] ide: add ncq identify data for ahci sata drives, Alexander Graf, 2010/11/23
- [Qemu-devel] [PATCH 06/12] pci: add storage class for sata, Alexander Graf, 2010/11/23
- [Qemu-devel] [PATCH 07/12] pci: add ich7 pci id, Alexander Graf, 2010/11/23
- [Qemu-devel] [PATCH 09/12] ahci: add -drive support, Alexander Graf, 2010/11/23
- [Qemu-devel] [PATCH 04/12] ide: add DMA hooks to bus ops, Alexander Graf, 2010/11/23
- [Qemu-devel] [PATCH 01/12] ide: split ide command interpretation off, Alexander Graf, 2010/11/23
- [Qemu-devel] [PATCH 10/12] config: Add header file for device config options, Alexander Graf, 2010/11/23
- [Qemu-devel] [PATCH 11/12] ahci: spawn controller on demand, Alexander Graf, 2010/11/23
- [Qemu-devel] [PATCH 03/12] ide: add support for ide bus ops, Alexander Graf, 2010/11/23
- [Qemu-devel] [PATCH 12/12] ide: move pata specific parts to pata.c, Alexander Graf, 2010/11/23
- [Qemu-devel] [PATCH 02/12] ide: fix whitespace gap in ide_exec_cmd, Alexander Graf, 2010/11/23
- [Qemu-devel] [PATCH 08/12] ahci: add ahci emulation, Alexander Graf, 2010/11/23