]> xenbits.xensource.com Git - libvirt.git/commitdiff
Clarify the purpose of domxml-from-native
authorDave Allan <dallan@redhat.com>
Mon, 6 Feb 2012 22:17:03 +0000 (17:17 -0500)
committerEric Blake <eblake@redhat.com>
Mon, 6 Feb 2012 22:57:34 +0000 (15:57 -0700)
Someone mentioned to me that they interpreted this section of the KVM
driver page as suggesting that new guests should be created by
creating a qemu commandline and converting it to XML with
domxml-from-native.  I don't think that's the intent of
domxml-from-native, so I added that clarification.

docs/drvqemu.html.in

index fa5496c877c4d44b8da5bd70ee3cba2fbeb466ed..fc76829e6d4af4567c989326fa5118c99671d206 100644 (file)
@@ -432,9 +432,16 @@ mount -t cgroup none /dev/cgroup -o devices
     <h3><a name="xmlimport">Converting from QEMU args to domain XML</a></h3>
 
     <p>
-      The <code>virsh domxml-from-native</code> provides a way to convert an
-      existing set of QEMU args into a guest description using libvirt Domain XML
-      that can then be used by libvirt.
+      The <code>virsh domxml-from-native</code> provides a way to
+      convert an existing set of QEMU args into a guest description
+      using libvirt Domain XML that can then be used by libvirt.
+      Please note that this command is intended to be used to convert
+      existing qemu guests previously started from the command line to
+      be managed through libvirt.  It should not be used a method of
+      creating new guests from scratch.  New guests should be created
+      using an application calling the libvirt APIs (see
+      the <a href="apps.html">libvirt applications page</a> for some
+      examples) or by manually crafting XML to pass to virsh.
     </p>
 
     <pre>$ cat &gt; demo.args &lt;&lt;EOF