Peter Maydell <peter.mayd...@linaro.org> writes: > On Mon, 18 Nov 2024 at 17:24, Pierrick Bouvier > <pierrick.bouv...@linaro.org> wrote: >> >> Present the various parts of QEMU and organization of codebase. >> >> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@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