[PATCH 1/7] docs: migration: Fix example for unix socket migration

Peter Krempa pkrempa at redhat.com
Tue Nov 24 13:58:56 UTC 2020


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 <pkrempa at redhat.com>
---
 docs/migration.html.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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):
     </p>
     <pre>
-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
     </pre>

     <p>
-- 
2.28.0




More information about the libvir-list mailing list