[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 4/10] qemu-binfmt-conf.sh: use the same prese
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-devel] [PATCH v4 4/10] qemu-binfmt-conf.sh: use the same presentation format as for qemu-* |
Date: |
Mon, 11 Mar 2019 12:22:38 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 11/03/2019 11:27, Unai Martinez-Corral wrote:
>
> Signed-off-by: Unai Martinez-Corral <address@hidden>
> ---
> scripts/qemu-binfmt-conf.sh | 58 +++++++++++++++++--------------------
> 1 file changed, 27 insertions(+), 31 deletions(-)
>
> diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh
> index e7a714e22c..489d7d2326 100755
> --- a/scripts/qemu-binfmt-conf.sh
> +++ b/scripts/qemu-binfmt-conf.sh
> @@ -167,47 +167,43 @@ qemu_get_family() {
>
> usage() {
> cat <<EOF
> -Usage: qemu-binfmt-conf.sh [--qemu-path PATH][--debian][--systemd CPU]
> - [--help][--credential][--exportdir PATH]
> - [--persistent][--qemu-suffix SUFFIX]
> +Usage: qemu-binfmt-conf.sh [options]
>
> - Configure binfmt_misc to use qemu interpreter
> +Configure binfmt_misc to use qemu interpreter
>
> - --help: display this usage
> - --qemu-path: set path to qemu interpreter ($QEMU_PATH)
> - --qemu-suffix: add a suffix to the default interpreter name
> - --debian: don't write into /proc,
> - instead generate update-binfmts templates
> - --systemd: don't write into /proc,
> - instead generate file for systemd-binfmt.service
> - for the given CPU. If CPU is "ALL", generate a
> - file for all known cpus
> - --exportdir: define where to write configuration files
> - (default: $SYSTEMDDIR or $DEBIANDIR)
> - --credential: if present, credential and security tokens are
> - calculated according to the binary to interpret
> - ($QEMU_CREDENTIAL=yes)
> - --persistent: if present, the interpreter is loaded when binfmt is
> - configured and remains in memory. All future uses
> - are cloned from the open file.
> - ($QEMU_PERSISTENT=yes)
> +Options and associated environment variables:
>
> - To import templates with update-binfmts, use :
> +Argument Env-variable Description
> +-h|--help display this usage
> +-Q|--qemu-path PATH: QEMU_PATH set path to qemu interpreter
Please, remove all the ':' above and below.
You should merge PATCH 9/10 with this one.
Thanks,
Laurent
- [Qemu-devel] [PATCH v4 0/10] qemu-binfmt-conf.sh, Unai Martinez-Corral, 2019/03/11
- [Qemu-devel] [PATCH v4 3/10] qemu-binfmt-conf.sh: add QEMU_CREDENTIAL and QEMU_PERSISTENT, Unai Martinez-Corral, 2019/03/11
- [Qemu-devel] [PATCH v4 2/10] qemu-binfmt-conf.sh: make opts -p and -c boolean, Unai Martinez-Corral, 2019/03/11
- [Qemu-devel] [PATCH v4 4/10] qemu-binfmt-conf.sh: use the same presentation format as for qemu-*, Unai Martinez-Corral, 2019/03/11
- Re: [Qemu-devel] [PATCH v4 4/10] qemu-binfmt-conf.sh: use the same presentation format as for qemu-*,
Laurent Vivier <=
- [Qemu-devel] [PATCH v4 1/10] qemu-binfmt-conf.sh: enforce safe style consistency, Unai Martinez-Corral, 2019/03/11
- [Qemu-devel] [PATCH v4 5/10] qemu-binfmt-conf.sh: remove 'qemu' prefix from cli options, Unai Martinez-Corral, 2019/03/11
- [Qemu-devel] [PATCH v4 6/10] qemu-binfmt-conf.sh: honour QEMU_PATH and/or QEMU_SUFFIX, Unai Martinez-Corral, 2019/03/11
- [Qemu-devel] [PATCH v4 7/10] qemu-binfmt-conf.sh: generalize CPU to positional TARGETS, Unai Martinez-Corral, 2019/03/11