[libvirt PATCH] docs: backing chains: fix qemu-img invocation

Ján Tomko posted 1 patch 3 years, 10 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/1482f2148c61ab86db4c9a360322726947d3ec3e.1591365914.git.jtomko@redhat.com
docs/kbase/backing_chains.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt PATCH] docs: backing chains: fix qemu-img invocation
Posted by Ján Tomko 3 years, 10 months ago
The example was missing the 'create' command.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reported-by: Roland Clobus <rclobus@rclobus.nl>
---
Pushed as trivial.

 docs/kbase/backing_chains.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/kbase/backing_chains.rst b/docs/kbase/backing_chains.rst
index c112f2bc82..c3de37f4d1 100644
--- a/docs/kbase/backing_chains.rst
+++ b/docs/kbase/backing_chains.rst
@@ -120,7 +120,7 @@ means that the **-F** parameter of ``qemu-img`` must always be used.
 
 ::
 
-  qemu-img -f qcow2 -F qcow2 -b $BACKING_IMAGE_PATH $IMAGE_PATH
+  qemu-img create -f qcow2 -F qcow2 -b $BACKING_IMAGE_PATH $IMAGE_PATH
 
 Note that if ``$BACKING_IMAGE_PATH`` is relative the path is considered relative to
 the location of ``$IMAGE_PATH``.
-- 
2.25.4