From: Peter Krempa
Date: Tue, 24 Nov 2020 13:44:05 +0000 (+0100)
Subject: docs: migration: Fix example for unix socket migration
X-Git-Tag: v6.10.0-rc1~33
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a62bb8641a7ad874613f4899e462e22148402444;p=thirdparty%2Flibvirt.git
docs: migration: Fix example for unix socket migration
Fix the following issues:
1) the very long line is overflowing the code box
2) '--migrateuri' was missing for the qemu data stream
3) '--desturi' was not used making it non-obvious what the argument
corresponds to
Signed-off-by: Peter Krempa
Reviewed-by: Ján Tomko
---
diff --git a/docs/migration.html.in b/docs/migration.html.in
index 77731eeb37..e84e5f5452 100644
--- a/docs/migration.html.in
+++ b/docs/migration.html.in
@@ -655,7 +655,10 @@ virsh migrate --p2p --tunnelled web1 qemu+ssh://desthost/system qemu+ssh://10.0.
software):
-virsh migrate web1 [--p2p] --copy-storage-all 'qemu+unix:///system?socket=/tmp/migdir/test-sock-driver' 'unix:///tmp/migdir/test-sock-qemu' --disks-uri unix:///tmp/migdir/test-sock-nbd
+virsh migrate --domain web1 [--p2p] --copy-storage-all
+ --desturi 'qemu+unix:///system?socket=/tmp/migdir/test-sock-driver'
+ --migrateuri 'unix:///tmp/migdir/test-sock-qemu'
+ --disks-uri unix:///tmp/migdir/test-sock-nbd