From 764ca71c75959589c0de0d3ac0ff92ed02b81c01 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Sat, 18 Sep 2021 23:58:39 +0200 Subject: [PATCH 1/2] qvm-create.1: improve --root-move-from description Describe by its difference from --root-copy-from, and be clear about what the difference is. Signed-off-by: Yann Dirson --- doc/manpages/qvm-create.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/manpages/qvm-create.rst b/doc/manpages/qvm-create.rst index 2d1aaea9..53bca582 100644 --- a/doc/manpages/qvm-create.rst +++ b/doc/manpages/qvm-create.rst @@ -63,8 +63,9 @@ Options .. option:: --root-move-from=FILENAME, -R FILENAME - Use provided :file:`root.img` instead of default/empty one (file will be - *moved*). This option is mutually exclusive with :option:`--root-copy-from`. + Like :option:`--root-copy-from`, but remove provided :file:`root.img` file + after succesful copy. This option is mutually exclusive with + :option:`--root-copy-from`. .. option:: -P POOL From 1a8913aaa146420cddb15b2f6a133833dcf779fb Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Sun, 19 Sep 2021 00:00:45 +0200 Subject: [PATCH 2/2] qvm-create.1: more detailed --root-copy-from description Signed-off-by: Yann Dirson --- doc/manpages/qvm-create.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/manpages/qvm-create.rst b/doc/manpages/qvm-create.rst index 53bca582..b3fc695a 100644 --- a/doc/manpages/qvm-create.rst +++ b/doc/manpages/qvm-create.rst @@ -58,8 +58,11 @@ Options .. option:: --root-copy-from=FILENAME, -r FILENAME - Use provided :file:`root.img` instead of default/empty one (file will be - *copied*). This option is mutually exclusive with :option:`--root-move-from`. + Use provided :file:`root.img` instead of default/empty one (file + will be *copied*). If the provided file does not have the same size + as the system volume being created, the VM will still be created + but with an empty system volume, and the program will report an + error. This option is mutually exclusive with :option:`--root-move-from`. .. option:: --root-move-from=FILENAME, -R FILENAME