From patchwork Mon May 31 17:43:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 54122 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C8B1CB7D6E for ; Tue, 1 Jun 2010 03:45:28 +1000 (EST) Received: from localhost ([127.0.0.1]:42786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ935-0004yE-9B for incoming@patchwork.ozlabs.org; Mon, 31 May 2010 13:45:15 -0400 Received: from [140.186.70.92] (port=50712 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ91j-0004wJ-FV for qemu-devel@nongnu.org; Mon, 31 May 2010 13:43:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJ91h-0008Bz-T7 for qemu-devel@nongnu.org; Mon, 31 May 2010 13:43:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4141) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ91h-0008BJ-Lv for qemu-devel@nongnu.org; Mon, 31 May 2010 13:43:49 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4VHhjRQ004923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 31 May 2010 13:43:45 -0400 Received: from localhost (vpn-9-92.rdu.redhat.com [10.11.9.92]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4VHhiqP028353; Mon, 31 May 2010 13:43:45 -0400 From: Luiz Capitulino To: qemu-devel@nongnu.org Date: Mon, 31 May 2010 14:43:30 -0300 Message-Id: <1275327812-27017-2-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1275327812-27017-1-git-send-email-lcapitulino@redhat.com> References: <1275327812-27017-1-git-send-email-lcapitulino@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: jan.kiszka@siemens.com, aliguori@us.ibm.com, avi@redhat.com, armbru@redhat.com Subject: [Qemu-devel] [PATCH 1/3] monitor: Reorder info documentation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Jan Kiszka Push the doc fragments for the info command to the end of qemu-monitor.hx. This helps to establish a proper layout in the upcoming QMP documentation. Signed-off-by: Jan Kiszka --- qemu-monitor.hx | 186 ++++++++++++++++++++++++++++-------------------------- 1 files changed, 96 insertions(+), 90 deletions(-) diff --git a/qemu-monitor.hx b/qemu-monitor.hx index f4f88df..b8c765b 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -38,96 +38,6 @@ Commit changes to the disk images (if -snapshot is used) or backing files. ETEXI { - .name = "info", - .args_type = "item:s?", - .params = "[subcommand]", - .help = "show various information about the system state", - .user_print = monitor_user_noop, - .mhandler.cmd_new = do_info, - }, - -STEXI -@item info @var{subcommand} -@findex info -Show various information about the system state. - -@table @option -@item info version -show the version of QEMU -@item info commands -list QMP available commands -@item info network -show the various VLANs and the associated devices -@item info chardev -show the character devices -@item info block -show the block devices -@item info blockstats -show block device statistics -@item info registers -show the cpu registers -@item info cpus -show infos for each CPU -@item info history -show the command line history -@item info irq -show the interrupts statistics (if available) -@item info pic -show i8259 (PIC) state -@item info pci -show emulated PCI device info -@item info tlb -show virtual to physical memory mappings (i386 only) -@item info mem -show the active virtual memory mappings (i386 only) -@item info hpet -show state of HPET (i386 only) -@item info jit -show dynamic compiler info -@item info kvm -show KVM information -@item info numa -show NUMA information -@item info usb -show USB devices plugged on the virtual USB hub -@item info usbhost -show all USB host devices -@item info profile -show profiling information -@item info capture -show information about active capturing -@item info snapshots -show list of VM snapshots -@item info status -show the current VM status (running|paused) -@item info pcmcia -show guest PCMCIA status -@item info mice -show which guest mouse is receiving events -@item info vnc -show the vnc server status -@item info name -show the current VM name -@item info uuid -show the current VM UUID -@item info cpustats -show CPU statistics -@item info usernet -show user network stack connection states -@item info migrate -show migration status -@item info balloon -show balloon information -@item info qtree -show device tree -@item info qdm -show qdev device model list -@item info roms -show roms -@end table -ETEXI - - { .name = "q|quit", .args_type = "", .params = "", @@ -1190,6 +1100,102 @@ STEXI Enable the specified QMP capabilities ETEXI + +HXCOMM Keep the 'info' command at the end! +HXCOMM This is required for the QMP documentation layout. + + { + .name = "info", + .args_type = "item:s?", + .params = "[subcommand]", + .help = "show various information about the system state", + .user_print = monitor_user_noop, + .mhandler.cmd_new = do_info, + }, + +STEXI +@item info @var{subcommand} +@findex info +Show various information about the system state. + +@table @option +@item info version +show the version of QEMU +@item info commands +list QMP available commands +@item info network +show the various VLANs and the associated devices +@item info chardev +show the character devices +@item info block +show the block devices +@item info blockstats +show block device statistics +@item info registers +show the cpu registers +@item info cpus +show infos for each CPU +@item info history +show the command line history +@item info irq +show the interrupts statistics (if available) +@item info pic +show i8259 (PIC) state +@item info pci +show emulated PCI device info +@item info tlb +show virtual to physical memory mappings (i386 only) +@item info mem +show the active virtual memory mappings (i386 only) +@item info hpet +show state of HPET (i386 only) +@item info jit +show dynamic compiler info +@item info kvm +show KVM information +@item info numa +show NUMA information +@item info usb +show USB devices plugged on the virtual USB hub +@item info usbhost +show all USB host devices +@item info profile +show profiling information +@item info capture +show information about active capturing +@item info snapshots +show list of VM snapshots +@item info status +show the current VM status (running|paused) +@item info pcmcia +show guest PCMCIA status +@item info mice +show which guest mouse is receiving events +@item info vnc +show the vnc server status +@item info name +show the current VM name +@item info uuid +show the current VM UUID +@item info cpustats +show CPU statistics +@item info usernet +show user network stack connection states +@item info migrate +show migration status +@item info balloon +show balloon information +@item info qtree +show device tree +@item info qdm +show qdev device model list +@item info roms +show roms +@end table +ETEXI + +HXCOMM DO NOT add new commands after 'info', move your addition before it! + STEXI @end table ETEXI