[libvirt] [libvirt-virshcmdref 14/14] update documentation for command inject-nmi

Hu Tao hutao at cn.fujitsu.com
Thu Aug 25 08:15:07 UTC 2011


---
 common.sh             |    3 ++-
 source/inject-nmi.xml |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 1 deletions(-)
 create mode 100644 source/inject-nmi.xml

diff --git a/common.sh b/common.sh
index 51dc3e1..5db5ecb 100755
--- a/common.sh
+++ b/common.sh
@@ -6,7 +6,8 @@ DOMAIN_COMMANDS="attach-device attach-disk attach-interface autostart
   hostname managedsave managedsave-remove maxvcpus memtune migrate
   migrate-setmaxdowntime reboot restore resume save schedinfo setmaxmem
   setmem setvcpus shutdown start suspend ttyconsole undefine update-device
-  vcpucount vcpuinfo vcpupin version vncdisplay blkiotune send-key"
+  vcpucount vcpuinfo vcpupin version vncdisplay blkiotune send-key
+  inject-nmi"
 
 MONITOR_COMMANDS="domblkinfo domblkstat domifstat dominfo dommemstat
   domstate list"
diff --git a/source/inject-nmi.xml b/source/inject-nmi.xml
new file mode 100644
index 0000000..9144f90
--- /dev/null
+++ b/source/inject-nmi.xml
@@ -0,0 +1,43 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+<command>
+  <name>inject-nmi</name>
+
+  <description>
+    <text>
+      Inject NMI to the guest
+    </text>
+  </description>
+
+  <options>
+    <parameter requirement="required">
+      <keyword requirement="optional">--domain</keyword>
+      <value type="string" requirement="required">domain</value>
+      <description>
+        <text>
+          domain name, id or uuid
+        </text>
+        <text>
+          "--domain" itself is optional
+        </text>
+      </description>
+    </parameter>
+  </options>
+
+  <availability from="0.9.2" />
+ 
+  <notes />
+ 
+  <examples type="usage">
+    <example>
+      <terminal>virsh # <bold>inject-nmi</bold> <value>example-domain</value></terminal>
+      <text>
+        inject NMI to domain <value>example-domain</value>.
+      </text>
+    </example>
+  </examples>
+
+  <examples type="fullcontext" />
+
+  <reference type="seealso" />
+</command>
-- 
1.7.3.1




More information about the libvir-list mailing list