From: Markus Armbruster <armbru@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 1/4] qemu-options: Remove remainders of the -tdf option
Date: Thu, 03 May 2018 08:50:48 +0200 [thread overview]
Message-ID: <87bmdxtepj.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <1525281868-24747-2-git-send-email-thuth@redhat.com> (Thomas Huth's message of "Wed, 2 May 2018 19:24:25 +0200")
Thomas Huth <thuth@redhat.com> writes:
> The -tdf options has been removed with d07aa197c5a1556449361a0cbb5108e2,
> but apparently I forgot to remove the corresponding two lines from
> qemu-options.hx.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> qemu-options.hx | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index c611766..44daa10 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -3924,9 +3924,6 @@ DEF("no-kvm-pit-reinjection", 0, QEMU_OPTION_no_kvm_pit_reinjection,
> HXCOMM Deprecated by -machine kernel_irqchip=on|off property
> DEF("no-kvm-irqchip", 0, QEMU_OPTION_no_kvm_irqchip, "", QEMU_ARCH_I386)
>
> -HXCOMM Deprecated (ignored)
> -DEF("tdf", 0, QEMU_OPTION_tdf,"", QEMU_ARCH_ALL)
> -
> DEF("msg", HAS_ARG, QEMU_OPTION_msg,
> "-msg timestamp[=on|off]\n"
> " change the format of messages\n"
Makes me wonder what happens when you specify --tdf. Aha: nothing.
Why? main() passes unknown options to os_parse_cmd_args(), which
happily ignores them. Its function comment "return 0 if option handled,
-1 otherwise" is bogus. Needs cleanup. Separate patch, not necessarily
in this series.
Suggest to mention in your commit message that --tdf is silently
ignored. Feel free to also point out the need for cleanup there.
Reviewed-by: Markus Armbruster <armbru@redhat.com>
next prev parent reply other threads:[~2018-05-03 6:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-02 17:24 [Qemu-devel] [PATCH 0/4] Removal of deprecated -no-kvm* options Thomas Huth
2018-05-02 17:24 ` [Qemu-devel] [PATCH 1/4] qemu-options: Remove remainders of the -tdf option Thomas Huth
2018-05-03 6:50 ` Markus Armbruster [this message]
2018-05-02 17:24 ` [Qemu-devel] [PATCH 2/4] qemu-options: Remove deprecated -no-kvm-pit-reinjection Thomas Huth
2018-05-03 7:07 ` Markus Armbruster
2018-05-02 17:24 ` [Qemu-devel] [PATCH 3/4] qemu-options: Remove deprecated -no-kvm-irqchip Thomas Huth
2018-05-03 7:08 ` Markus Armbruster
2018-05-02 17:24 ` [Qemu-devel] [PATCH 4/4] qemu-options: Remove deprecated -no-kvm Thomas Huth
2018-05-03 7:06 ` Markus Armbruster
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=87bmdxtepj.fsf@dusky.pond.sub.org \
--to=armbru@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.