]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: backing chains: fix qemu-img invocation
authorJán Tomko <jtomko@redhat.com>
Fri, 5 Jun 2020 14:01:06 +0000 (16:01 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 5 Jun 2020 14:01:55 +0000 (16:01 +0200)
The example was missing the 'create' command.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reported-by: Roland Clobus <rclobus@rclobus.nl>
docs/kbase/backing_chains.rst

index c112f2bc82ab37fd7f13c4b8dc9bf2fc2a34a999..c3de37f4d17e964829c3b2865f66b0eae12cbb8d 100644 (file)
@@ -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``.