qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] directory hierarchy


From: Paolo Bonzini
Subject: Re: [Qemu-devel] directory hierarchy
Date: Fri, 14 Sep 2012 18:36:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0

Il 14/09/2012 16:37, Stefan Weil ha scritto:
> Here are some more ideas:
> 
> * Move the target-xxx directories (currently 15) to target/xxx.

Yes, of course.

> * Add host/xxx for host specific files (xxx = posix, wxx).
>   Here the currently used win32 might be replaced by either
>   wxx or by win as most of it also applies to w64.
>   An alternative solution would add host specific subdirectories
>   to include/qemu and util.

This makes sense, though it becomes more problematic as the host files
are scattered around the tree.

> * Move machine implementations (code which calls machine_init)
>   to the respective architecture directories (hw/arm, ...).
>   Meanwhile we have more than 50 machine implementations in hw.
>   We could also replace hw/alpha, hw/arm, hw/cris, ... to
>   hw/arch/alpha and so on.
> 
> * Move hardware implementations which are architecture specific
>   to the architecture directories. This is sometimes less obvious
>   than the machine implementations.

This I left out purposedly. :)

Paolo



reply via email to

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