diff options
author | Wenchao Xia <xiawenc@linux.vnet.ibm.com> | 2013-12-04 17:10:59 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-12-04 15:19:00 +0100 |
commit | 4323fdcf9451deaaf48468afa91b8bcaeac00cff (patch) | |
tree | 408a60d72f2cf3c1dde466f28c7154c53d9af6e3 | |
parent | f33d287393d58f5513d25b097310ed4706fbf5b5 (diff) |
qemu-nbd: add doc for option -f
Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
-rw-r--r-- | qemu-nbd.c | 1 | ||||
-rw-r--r-- | qemu-nbd.texi | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/qemu-nbd.c b/qemu-nbd.c index fe6053ca56..136e8c9c05 100644 --- a/qemu-nbd.c +++ b/qemu-nbd.c @@ -79,6 +79,7 @@ static void usage(const char *name) #endif "\n" "Block device options:\n" +" -f, --format=FORMAT set image format (raw, qcow2, ...)\n" " -r, --read-only export read-only\n" " -s, --snapshot use FILE as an external snapshot, create a temporary\n" " file with backing_file=FILE, redirect the write to\n" diff --git a/qemu-nbd.texi b/qemu-nbd.texi index 5b55f769ac..0a7e01385c 100644 --- a/qemu-nbd.texi +++ b/qemu-nbd.texi @@ -22,6 +22,8 @@ Export QEMU disk image using NBD protocol. interface to bind to (default @samp{0.0.0.0}) @item -k, --socket=@var{path} Use a unix socket with path @var{path} +@item -f, --format=@var{format} + Set image format as @var{format} @item -r, --read-only export read-only @item -P, --partition=@var{num} |