From: Pavel Butsykin <pbutsykin@odin.com>
To: Peter Maydell <peter.maydell@linaro.org>,
"Denis V. Lunev" <den@openvz.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Luiz Capitulino <lcapitulino@redhat.com>,
QEMU Developers <qemu-devel@nongnu.org>,
Pavel Butsykin <pbutsykin@virtuozzo.com>
Subject: Re: [Qemu-devel] [PATCH 3/3] monitor: added generation of documentation for hmp-commands-info.hx
Date: Fri, 28 Aug 2015 10:00:15 +0300 [thread overview]
Message-ID: <55E006FF.7090307@odin.com> (raw)
In-Reply-To: <CAFEAcA98+zPGBo=h5WZ3a5s2jaQHSr97oBfDieYEvHD=HhbR3w@mail.gmail.com>
On 27.08.2015 20:39, Peter Maydell wrote:
> On 12 August 2015 at 12:50, Denis V. Lunev <den@openvz.org> wrote:
>> From: Pavel Butsykin <pbutsykin@virtuozzo.com>
>>
>> It will be easier if you need to add info-commands to edit
>> only hmp-commands-info.hx, before this had to edit monitor.c and
>> hmp-commands.hx
>>
>> Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com>
>> Signed-off-by: Denis V. Lunev <den@openvz.org>
>> CC: Luiz Capitulino <lcapitulino@redhat.com>
>> CC: Paolo Bonzini <pbonzini@redhat.com>
>> CC: Peter Maydell <peter.maydell@linaro.org>
>> ---
>> .gitignore | 1 +
>> Makefile | 9 ++--
>> hmp-commands-info.hx | 4 ++
>> hmp-commands.hx | 120 ---------------------------------------------------
>> qemu-doc.texi | 2 +
>> 5 files changed, 13 insertions(+), 123 deletions(-)
>>
>> diff --git a/.gitignore b/.gitignore
>> index 61bc492..f1c881a 100644
>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -49,6 +49,7 @@
>> /qemu-ga
>> /qemu-bridge-helper
>> /qemu-monitor.texi
>> +/qemu-monitor-info.texi
>> /qmp-commands.txt
>> /vscclient
>> /fsdev/virtfs-proxy-helper
>> diff --git a/Makefile b/Makefile
>> index 340d9c8..768422b 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -344,7 +344,7 @@ qemu-%.tar.bz2:
>> $(SRC_PATH)/scripts/make-release "$(SRC_PATH)" "$(patsubst qemu-%.tar.bz2,%,$@)"
>>
>> distclean: clean
>> - rm -f config-host.mak config-host.h* config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi qemu-monitor.texi
>> + rm -f config-host.mak config-host.h* config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi qemu-monitor.texi qemu-monitor-info.texi
>> rm -f config-all-devices.mak config-all-disas.mak config.status
>> rm -f po/*.mo tests/qemu-iotests/common.env
>> rm -f roms/seabios/config.mak roms/vgabios/config.mak
>> @@ -508,13 +508,16 @@ qemu-options.texi: $(SRC_PATH)/qemu-options.hx
>> qemu-monitor.texi: $(SRC_PATH)/hmp-commands.hx
>> $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -t < $< > $@," GEN $@")
>>
>> +qemu-monitor-info.texi: $(SRC_PATH)/hmp-commands-info.hx
>> + $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -t < $< > $@," GEN $@")
>> +
>> qmp-commands.txt: $(SRC_PATH)/qmp-commands.hx
>> $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -q < $< > $@," GEN $@")
>>
>> qemu-img-cmds.texi: $(SRC_PATH)/qemu-img-cmds.hx
>> $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -t < $< > $@," GEN $@")
>>
>> -qemu.1: qemu-doc.texi qemu-options.texi qemu-monitor.texi
>> +qemu.1: qemu-doc.texi qemu-options.texi qemu-monitor.texi qemu-monitor-info.texi
>> $(call quiet-command, \
>> perl -Ww -- $(SRC_PATH)/scripts/texi2pod.pl $< qemu.pod && \
>> $(POD2MAN) --section=1 --center=" " --release=" " qemu.pod > $@, \
>> @@ -551,7 +554,7 @@ pdf: qemu-doc.pdf qemu-tech.pdf
>>
>> qemu-doc.dvi qemu-doc.html qemu-doc.info qemu-doc.pdf: \
>> qemu-img.texi qemu-nbd.texi qemu-options.texi \
>> - qemu-monitor.texi qemu-img-cmds.texi
>> + qemu-monitor.texi qemu-monitor-info.texi qemu-img-cmds.texi
>>
>> ifdef CONFIG_WIN32
>>
>> diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
>> index 9ccb33f..81ae9d7 100644
>> --- a/hmp-commands-info.hx
>> +++ b/hmp-commands-info.hx
>> @@ -6,6 +6,9 @@ HXCOMM monitor info commands
>> HXCOMM HXCOMM can be used for comments, discarded from both texi and C
>>
>> STEXI
>> +@item info @var{subcommand}
>> +@findex info
>> +Show various information about the system state.
>> @table @option
>> ETEXI
>>
>> @@ -708,4 +711,5 @@ ETEXI
>>
>> STEXI
>> @end table
>> +@end table
>> ETEXI
> Where does this extra "@end table" come from?
>
> thanks
> -- PMM
This "@end table" come from hmp-commands.hx and it's necessary to close
tag "@subsection Commands" from qemu-doc.texi
next prev parent reply other threads:[~2015-08-28 7:16 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-12 11:50 [Qemu-devel] [PATCH v2 for 2.5 0/3] Move target- and device specific code from monitor Denis V. Lunev
2015-08-12 11:50 ` [Qemu-devel] [PATCH 1/3] hmp-commands-info: move info_cmds content out of monitor.c Denis V. Lunev
2015-08-27 17:40 ` Peter Maydell
2015-08-12 11:50 ` [Qemu-devel] [PATCH 2/3] monitor: remove target-specific code from monitor.c Denis V. Lunev
2015-08-27 17:31 ` Peter Maydell
2015-08-27 17:37 ` Denis V. Lunev
2015-08-28 9:21 ` Pavel Butsykin
2015-08-28 10:12 ` Peter Maydell
2015-08-28 14:58 ` Pavel Butsykin
2015-08-12 11:50 ` [Qemu-devel] [PATCH 3/3] monitor: added generation of documentation for hmp-commands-info.hx Denis V. Lunev
2015-08-27 17:39 ` Peter Maydell
2015-08-28 7:00 ` Pavel Butsykin [this message]
2015-08-28 8:19 ` Peter Maydell
2015-08-28 14:53 ` Pavel Butsykin
2015-08-18 23:50 ` [Qemu-devel] [PATCH v2 for 2.5 0/3] Move target- and device specific code from monitor Denis V. Lunev
2015-08-25 9:54 ` Denis V. Lunev
2015-08-27 11:27 ` Denis V. Lunev
2015-08-27 12:13 ` Peter Maydell
2015-08-27 12:34 ` Denis V. Lunev
2015-08-28 11:25 ` Markus Armbruster
-- strict thread matches above, loose matches on Subject: below --
2015-07-02 16:18 [Qemu-devel] (no subject) Denis V. Lunev
2015-07-02 16:18 ` [Qemu-devel] [PATCH 3/3] monitor: added generation of documentation for hmp-commands-info.hx Denis V. Lunev
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=55E006FF.7090307@odin.com \
--to=pbutsykin@odin.com \
--cc=den@openvz.org \
--cc=lcapitulino@redhat.com \
--cc=pbonzini@redhat.com \
--cc=pbutsykin@virtuozzo.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).