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: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring
Date: Mon, 4 Feb 2013 20:33:26 +0000

On 4 February 2013 18:59, Paolo Bonzini <address@hidden> wrote:
> Il 04/02/2013 19:13, Peter Maydell ha scritto:
>> I think this is inconsistent. Either we should organise by category,
>> or we should organise per-target, but we shouldn't try to do both.
>> Otherwise we're just going to wind up with half the $TARGET-specific
>> $FOO device models in hw/$TARGET and the other half in hw/$FOO.
>
> The $FOO device models should all be in hw/$FOO.  But there are some
> parts that do not fit in a category

Surely this is what hw/misc is for?

(Also a hw/machines might be a good idea.)

> or are always target-specific, and
> hw/$TARGET has them.
>
> Also, the kernel similarly has arch/$TARGET and drivers/$FOO.

Yes, and the ARM kernel maintainers have just spent quite a lot
of effort in cleaning things up to kick all the drivers out
of arch/$TARGET and into drivers/$FOO where they belong.
I'd rather we didn't get into that mess in the first place :-)

-- PMM



reply via email to

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