aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2020-01-23 10:46:49 -0600
committerEric Blake <eblake@redhat.com>2020-02-05 17:29:17 -0600
commit2e3cb7583a138861cd68977394b172f268b8ed63 (patch)
tree6760daf8c44c296b82342cb94b8308fe451f7a8b
parentdeb6ccb077238660080abe7e667bbf8ede5141c7 (diff)
downloadqemu-2e3cb7583a138861cd68977394b172f268b8ed63.zip
qemu-2e3cb7583a138861cd68977394b172f268b8ed63.tar.gz
qemu-2e3cb7583a138861cd68977394b172f268b8ed63.tar.bz2
docs: Fix typo in qemu-nbd -P replacement
The suggested replacement for the deprecated 'qemu-nbd -P' refers to 'file.backing.opt' instead of 'file.file.opt'; using the example verbatim results in: qemu-nbd: Failed to blk_new_open 'driver=raw,offset=1m,size=100m,file.driver=qcow2,file.backing.driver=file,file.backing.filename=file4': A block device must be specified for "file" Correct this text, prior to actually finishing the deprecation process. Fixes: 0ae2d54645eb Reported-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20200123164650.1741798-2-eblake@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
-rw-r--r--qemu-deprecated.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi
index ea3e10b..c8ee68a 100644
--- a/qemu-deprecated.texi
+++ b/qemu-deprecated.texi
@@ -329,7 +329,7 @@ top of any other existing blockdev. For example, if partition 1 is
can be rewritten as:
-@code{qemu-nbd -t --image-opts driver=raw,offset=1M,size=100M,file.driver=qcow2,file.backing.driver=file,file.backing.filename=file.qcow2}
+@code{qemu-nbd -t --image-opts driver=raw,offset=1M,size=100M,file.driver=qcow2,file.file.driver=file,file.file.filename=file.qcow2}
Alternatively, the @code{nbdkit} project provides a more powerful
partition filter on top of its nbd plugin, which can be used to select