]> xenbits.xensource.com Git - libvirt.git/commitdiff
doc: Add doc for missed options of migrate
authorOsier Yang <jyang@redhat.com>
Thu, 18 Nov 2010 08:21:05 +0000 (16:21 +0800)
committerEric Blake <eblake@redhat.com>
Thu, 18 Nov 2010 18:32:33 +0000 (11:32 -0700)
* tools/virsh.pod (add doc for options like "--p2p", "--direct",
"--copy-storage-all", "dname", etc.)

tools/virsh.pod

index c4a5803a799e91917d7dfea7ae523c752f523d49..5a96116184a68474d2b186b89aae3db0223565a6 100644 (file)
@@ -456,13 +456,23 @@ Provide the maximum number of virtual CPUs supported for a guest VM on
 this connection.  If provided, the I<type> parameter must be a valid
 type attribute for the <domain> element of XML.
 
-=item B<migrate> optional I<--live> I<--suspend> I<domain-id> I<desturi>
-I<migrateuri>
-
-Migrate domain to another host.  Add --live for live migration; --suspend
-leaves the domain paused on the destination host. The I<desturi> is the
-connection URI of the destination host, and I<migrateuri> is the
-migration URI, which usually can be omitted.
+=item B<migrate> optional I<--live> I<--p2p> I<--direct> I<--tunnelled>
+I<--persistent> I<--undefinesource> I<--suspend> I<--copy-storage-all>
+I<--copy-storage-inc> I<domain-id> I<desturi> I<migrateuri> I<dname>
+
+Migrate domain to another host.  Add I<--live> for live migration; I<--p2p>
+for peer-2-peer migration; I<--direct> for direct migration; or I<--tunnelled>
+for tunnelled migration.  I<--persistent> leaves the domain persistent on
+destination host, I<--undefinesource> undefines the domain on the source host,
+and I<--suspend> leaves the domain paused on the destination host.
+I<--copy-storage-all> indicates migration with non-shared storage with full
+disk copy, I<--copy-storage-inc> indicates migration with non-shared storage
+with incremental copy (same base image shared between source and destination).
+
+The I<desturi> is the connection URI of the destination host, and
+I<migrateuri> is the migration URI, which usually can be omitted.
+I<dname> is used for renaming the domain to new name during migration, which
+also usually can be omitted.
 
 =item B<migrate-setmaxdowntime> I<domain-id> I<downtime>