[libvirt] [libvirt-virshcmdref 01/10] clarify the format of XML file used in command attach-device and detach-device

Hu Tao hutao at cn.fujitsu.com
Wed Sep 14 07:28:52 UTC 2011


---
 source/attach-device.xml |    4 +++-
 source/detach-device.xml |    3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/source/attach-device.xml b/source/attach-device.xml
index 18e3262..aab8313 100644
--- a/source/attach-device.xml
+++ b/source/attach-device.xml
@@ -27,7 +27,9 @@
       <value type="string" requirement="required">file</value>
       <description>
         <text>
-          the XML file describing the device to be attached
+          the XML file describing the device to be attached, with
+          a root element of something that belongs inside <devices>
+          of domain xml
         </text>
         <text>
           "--file" itself is optional
diff --git a/source/detach-device.xml b/source/detach-device.xml
index 85ab17b..6262d49 100644
--- a/source/detach-device.xml
+++ b/source/detach-device.xml
@@ -27,7 +27,8 @@
       <value type="string" requirement="required">file</value>
       <description>
         <text>
-          the XML file describing the device to be detached
+          the XML file describing the device to be detached, with
+          a root element of something that belongs inside <devices>
         </text>
         <text>
           "--file" itself is optional
-- 
1.7.3.1




More information about the libvir-list mailing list