From: Thomas Huth <thuth@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: armbru@redhat.com, peter.maydell@linaro.org,
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Subject: Re: [Qemu-devel] [PATCH] Kconfig: add documentation
Date: Tue, 12 Feb 2019 10:13:38 +0100 [thread overview]
Message-ID: <002847d1-732d-b777-394c-a784fd359130@redhat.com> (raw)
In-Reply-To: <20190211163829.10297-1-pbonzini@redhat.com>
On 2019-02-11 17:38, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> docs/devel/kconfig.rst | 284 +++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 284 insertions(+)
> create mode 100644 docs/devel/kconfig.rst
Thanks for writing this up - that's a really helpful text!
> diff --git a/docs/devel/kconfig.rst b/docs/devel/kconfig.rst
> new file mode 100644
> index 0000000000..b653c43b12
> --- /dev/null
> +++ b/docs/devel/kconfig.rst
> @@ -0,0 +1,284 @@
[...]
> +Unlike Linux, there is no user interface to edit the configuration, which is instead
> +specified in per-target files under the ``default-configs/`` directory of the
> +QEMU source tree. This is because, unlike Linux, configuration and dependencies can be
> +treated as a black box when building QEMU; the default configuration that QEMU
> +ships with should be okay in almost all cases.
I'd like to suggest to replace "Linux" with "Linux-Kconfig".
[...]
> +**reverse dependencies**: ``select <symbol> [if <expr>]``
> +
> + While ``depends on`` forces a symbol to false, reverse dependencies can be
> + used to force another symbol to true. In the following example,
> + ``CONFIG_BAZ`` will be true whenever ``CONFIG_FOO`` is true::
> +
> + config FOO
> + select BAZ
> +
> + The optional expression will prevent ``select`` from having any effect
> + unless it is true.
> +
> + Note that unlike Linux, QEMU will detect contradictions between ``depends on`` and
dito
Thomas
next prev parent reply other threads:[~2019-02-12 9:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-11 16:38 [Qemu-devel] [PATCH] Kconfig: add documentation Paolo Bonzini
2019-02-11 17:17 ` Cornelia Huck
2019-02-12 11:27 ` Paolo Bonzini
2019-02-12 4:11 ` Stefan Hajnoczi
2019-02-12 9:08 ` Markus Armbruster
2019-02-12 10:59 ` Paolo Bonzini
2019-02-13 7:45 ` Markus Armbruster
2019-02-13 15:40 ` Paolo Bonzini
2019-02-12 9:13 ` Thomas Huth [this message]
2019-02-12 11:00 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=002847d1-732d-b777-394c-a784fd359130@redhat.com \
--to=thuth@redhat.com \
--cc=armbru@redhat.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).