[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Splitting vl.h
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] Splitting vl.h |
Date: |
Sun, 11 Nov 2007 10:59:20 +0200 |
On 11/11/07, Paul Brook <address@hidden> wrote:
> The attached patch starts splitting vl.h up a bit.
> I've pulled out the i2c, disk and irq code.
>
> Because I picked some of the easier ones, they can also be built once, rather
> than for every target.
>
> Obviously there's a lot left to do, but my grand plan is to get rid of vl.h
> altogether. A few files will probably end up effectively including
> everything, but hopefully most files should disentangle reasonably well. The
> more gets split out, the better things should get. e.g. scsi-disk.c doesn't
> need vl.h because I already split out the block API.
>
> I want to check this seems a reasonable approach before I go too much further.
> Comments?
I understand Fabrice's concern about small files, but I think this is
the right direction.
In ide.c and esp.c there are TARGET_ and target_ dependencies, how do
you plan to handle those?