[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] Kconfig: add documentation
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH v2] Kconfig: add documentation |
Date: |
Wed, 13 Feb 2019 10:53:00 +0800 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Tue, Feb 12, 2019 at 10:57:49AM +0100, Paolo Bonzini wrote:
[...]
> +Writing and modifying default configurations
> +--------------------------------------------
> +
> +In addition to the Kconfig files under hw/, each target also includes
> +a file called ``default-configs/TARGETNAME-softmmu.mak``. These files
> +initialize some Kconfig variables to non-default values and provide the
> +starting point to turn on devices and subsystems.
> +
> +A file in ``default-configs/`` looks like the following example::
> +
> + # Default configuration for alpha-softmmu
> +
> + # Uncomment the following lines to disable these optional devices:
> + #
> + #CONFIG_PCI_DEVICES=n
> + #CONFIG_TEST_DEVICES=n
> +
> + # Boards:
> + #
> + CONFIG_DP264=y
> +
> +The first part, consisting of commented-out ``=n`` assignments, tells
> +the user which devices or device groups are implied by the boards.
> +The second part, consisting of ``=y`` assignments, tells the user which
> +boards are supported by the target. The user will typically modify
> +default the configuration by uncommenting lines in the first group,
(noticed a trivial typo when read...)
s/default the/the default/
--
Peter Xu