qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH 5/7] docs: add a codebase section


From: Alex BennΓ©e
Subject: Re: [PATCH 5/7] docs: add a codebase section
Date: Tue, 03 Dec 2024 17:22:50 +0000
User-agent: mu4e 1.12.7; emacs 29.4

Peter Maydell <peter.maydell@linaro.org> writes:

> On Mon, 18 Nov 2024 at 17:24, Pierrick Bouvier
> <pierrick.bouvier@linaro.org> wrote:
>>
>> Present the various parts of QEMU and organization of codebase.
>>
>> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
>
> I like this; it's something I've thought for a while would
> be good to have, but which I never got round to trying to
> put together. Thanks for doing this!
>
> Mostly my comments below are spelling/typo nits and
> other minor stuff.
>
>> ---
>>  docs/about/emulation.rst               |   2 +
>>  docs/codebase/index.rst                | 211 +++++++++++++++++++++++++
>>  docs/devel/decodetree.rst              |   2 +
>>  docs/devel/ebpf_rss.rst                |   2 +
>>  docs/devel/index-internals.rst         |   2 +
>>  docs/devel/migration/main.rst          |   2 +
>>  docs/devel/qapi-code-gen.rst           |   1 +
>>  docs/devel/testing/main.rst            |   9 +-
>>  docs/devel/testing/qtest.rst           |   2 +
>>  docs/index.rst                         |   3 +
>>  docs/interop/qemu-ga.rst               |   2 +
>>  docs/system/qemu-block-drivers.rst.inc |   2 +
>>  docs/tools/qemu-storage-daemon.rst     |   2 +
>>  docs/user/main.rst                     |   6 +
>>  14 files changed, 247 insertions(+), 1 deletion(-)
>>  create mode 100644 docs/codebase/index.rst
>>
<snip>
>> +  Block devices and `image formats<disk images>` implementation.
>> +* `bsd-user <https://gitlab.com/qemu-project/qemu/-/tree/master/bsd-user>`_:
>> +  `BSD User mode<bsd-user-mode>`.
>> +* build: Where the code built goes!
>
> The built code doesn't have to be in 'build'. We could say:
>
>  * build: You can tell the QEMU build system to put the built code
>    anywhere you like. By default it will go into a directory named
>    ``build``. Sometimes documentation will assume this default
>    for convenience when describing command lines; you can always
>    replace it with the path to your build tree.
>
> ?

I always recommend creating a builds directory and having multiple build
trees under it:

  πŸ•™17:22:02 alex@draig:qemu.git  on ξ‚  testing/next [$!?] 
  ➜  tree -L 1 builds
  builds
  β”œβ”€β”€ all
  β”œβ”€β”€ all.clang
  β”œβ”€β”€ all.disabled
  β”œβ”€β”€ arm64-system.crossbuild
  β”œβ”€β”€ arm.afl
  β”œβ”€β”€ arm.all
  β”œβ”€β”€ arm.debug
  β”œβ”€β”€ arm.gcovr
  β”œβ”€β”€ arm.user.32bit
  β”œβ”€β”€ bisect
  β”œβ”€β”€ debug
  β”œβ”€β”€ debug.clang
  β”œβ”€β”€ deprecated
  β”œβ”€β”€ disable-misc
  β”œβ”€β”€ disable.plugins
  β”œβ”€β”€ disable-tcg
  β”œβ”€β”€ disable-user
  β”œβ”€β”€ extra.libs
  β”œβ”€β”€ gcov
  β”œβ”€β”€ gcov2
  β”œβ”€β”€ lto
  β”œβ”€β”€ profiling
  β”œβ”€β”€ qemu-system-arm
  β”œβ”€β”€ rust
  β”œβ”€β”€ sanitisers
  β”œβ”€β”€ sanitizer.clang
  β”œβ”€β”€ system
  β”œβ”€β”€ system.i386
  β”œβ”€β”€ system.nodefaults
  β”œβ”€β”€ system.threadsan
  β”œβ”€β”€ tcg
  β”œβ”€β”€ tci
  β”œβ”€β”€ tools-and-docs
  β”œβ”€β”€ trs.debug
  β”œβ”€β”€ tsan
  β”œβ”€β”€ user
  β”œβ”€β”€ user.static
  β”œβ”€β”€ virtio-gpu
  └── xen


-- 
Alex BennΓ©e
Virtualisation Tech Lead @ Linaro



reply via email to

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