qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 1/3] monitor: Reorder info documentation


From: Luiz Capitulino
Subject: [Qemu-devel] [PATCH 1/3] monitor: Reorder info documentation
Date: Tue, 18 May 2010 22:32:47 -0300

From: Jan Kiszka <address@hidden>

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 <address@hidden>
---
 qemu-monitor.hx |  166 ++++++++++++++++++++++++++++--------------------------
 1 files changed, 86 insertions(+), 80 deletions(-)

diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index a8f194c..3709708 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -38,86 +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
address@hidden info @var{subcommand}
address@hidden info
-Show various information about the system state.
-
address@hidden @option
address@hidden info version
-show the version of QEMU
address@hidden info network
-show the various VLANs and the associated devices
address@hidden info chardev
-show the character devices
address@hidden info block
-show the block devices
address@hidden info block
-show block device statistics
address@hidden info registers
-show the cpu registers
address@hidden info cpus
-show infos for each CPU
address@hidden info history
-show the command line history
address@hidden info irq
-show the interrupts statistics (if available)
address@hidden info pic
-show i8259 (PIC) state
address@hidden info pci
-show emulated PCI device info
address@hidden info tlb
-show virtual to physical memory mappings (i386 only)
address@hidden info mem
-show the active virtual memory mappings (i386 only)
address@hidden info hpet
-show state of HPET (i386 only)
address@hidden info kvm
-show KVM information
address@hidden info usb
-show USB devices plugged on the virtual USB hub
address@hidden info usbhost
-show all USB host devices
address@hidden info profile
-show profiling information
address@hidden info capture
-show information about active capturing
address@hidden info snapshots
-show list of VM snapshots
address@hidden info status
-show the current VM status (running|paused)
address@hidden info pcmcia
-show guest PCMCIA status
address@hidden info mice
-show which guest mouse is receiving events
address@hidden info vnc
-show the vnc server status
address@hidden info name
-show the current VM name
address@hidden info uuid
-show the current VM UUID
address@hidden info cpustats
-show CPU statistics
address@hidden info usernet
-show user network stack connection states
address@hidden info migrate
-show migration status
address@hidden info balloon
-show balloon information
address@hidden info qtree
-show device tree
address@hidden table
-ETEXI
-
-    {
         .name       = "q|quit",
         .args_type  = "",
         .params     = "",
@@ -1182,6 +1102,92 @@ 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
address@hidden info @var{subcommand}
address@hidden info
+Show various information about the system state.
+
address@hidden @option
address@hidden info version
+show the version of QEMU
address@hidden info network
+show the various VLANs and the associated devices
address@hidden info chardev
+show the character devices
address@hidden info block
+show the block devices
address@hidden info block
+show block device statistics
address@hidden info registers
+show the cpu registers
address@hidden info cpus
+show infos for each CPU
address@hidden info history
+show the command line history
address@hidden info irq
+show the interrupts statistics (if available)
address@hidden info pic
+show i8259 (PIC) state
address@hidden info pci
+show emulated PCI device info
address@hidden info tlb
+show virtual to physical memory mappings (i386 only)
address@hidden info mem
+show the active virtual memory mappings (i386 only)
address@hidden info hpet
+show state of HPET (i386 only)
address@hidden info kvm
+show KVM information
address@hidden info usb
+show USB devices plugged on the virtual USB hub
address@hidden info usbhost
+show all USB host devices
address@hidden info profile
+show profiling information
address@hidden info capture
+show information about active capturing
address@hidden info snapshots
+show list of VM snapshots
address@hidden info status
+show the current VM status (running|paused)
address@hidden info pcmcia
+show guest PCMCIA status
address@hidden info mice
+show which guest mouse is receiving events
address@hidden info vnc
+show the vnc server status
address@hidden info name
+show the current VM name
address@hidden info uuid
+show the current VM UUID
address@hidden info cpustats
+show CPU statistics
address@hidden info usernet
+show user network stack connection states
address@hidden info migrate
+show migration status
address@hidden info balloon
+show balloon information
address@hidden info qtree
+show device tree
address@hidden table
+ETEXI
+
+HXCOMM DO NOT add new commands after 'info', move your addition before it!
+
 STEXI
 @end table
 ETEXI
-- 
1.7.1.86.g0e460




reply via email to

[Prev in Thread] Current Thread [Next in Thread]