Received: from eggs.gnu.org ([2001:4830:134:3::10]:39426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xil2r-0002Mj-PE for qemu-devel@nongnu.org; Mon, 27 Oct 2014 10:13:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xil2l-0005b2-FZ for qemu-devel@nongnu.org; Mon, 27 Oct 2014 10:13:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xil2l-0005as-7J for qemu-devel@nongnu.org; Mon, 27 Oct 2014 10:13:11 -0400 From: Markus Armbruster References: <1412605147-15114-1-git-send-email-armbru@redhat.com> Date: Mon, 27 Oct 2014 15:13:01 +0100 In-Reply-To: <1412605147-15114-1-git-send-email-armbru@redhat.com> (Markus Armbruster's message of "Mon, 6 Oct 2014 16:19:07 +0200") Message-ID: <8738a91tzm.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] aio / timers: De-document -clock List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: alex@alex.org.uk, stefanha@redhat.com, lcapitulino@redhat.com Ping? Markus Armbruster writes: > Commit 6d32717 "aio / timers: Remove alarm timers" has issues: > > 1. It silently ignores -clock for backward compatibility. > Incompatible change: -clock help no longer terminates the program. > Tolerable. > > 2. Failed to update option documentation. In particular, -help still > advises users to try -clock help for available timers. Drop all > documentation on -clock. > > 3. The 'query-alarm-clock' example in docs/writing-commands.txt no > longer works, and needs to be redone. Can't do that right now, so I > just stick in a FIXME. > > Signed-off-by: Markus Armbruster > --- > docs/writing-qmp-commands.txt | 2 ++ > qemu-options.hx | 12 ++---------- > 2 files changed, 4 insertions(+), 10 deletions(-) > > diff --git a/docs/writing-qmp-commands.txt b/docs/writing-qmp-commands.txt > index 4d86c24..f3df206 100644 > --- a/docs/writing-qmp-commands.txt > +++ b/docs/writing-qmp-commands.txt > @@ -365,6 +365,8 @@ documentation for information about the other types. > > === User Defined Types === > > +FIXME This example needs to be redone after commit 6d32717 > + > For this example we will write the query-alarm-clock command, which returns > information about QEMU's timer alarm. For more information about it, please > check the "-clock" command-line option. > diff --git a/qemu-options.hx b/qemu-options.hx > index 365b56c..778d0de 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -2983,16 +2983,8 @@ Load the contents of @var{file} as an option ROM. > This option is useful to load things like EtherBoot. > ETEXI > > -DEF("clock", HAS_ARG, QEMU_OPTION_clock, \ > - "-clock force the use of the given methods for timer alarm.\n" \ > - " To see what timers are available use '-clock help'\n", > - QEMU_ARCH_ALL) > -STEXI > -@item -clock @var{method} > -@findex -clock > -Force the use of the given methods for timer alarm. To see what timers > -are available use @code{-clock help}. > -ETEXI > +HXCOMM Silently ignored for compatibility > +DEF("clock", HAS_ARG, QEMU_OPTION_clock, "", QEMU_ARCH_ALL) > > HXCOMM Options deprecated by -rtc > DEF("localtime", 0, QEMU_OPTION_localtime, "", QEMU_ARCH_ALL)