mirror of https://github.com/xqemu/xqemu.git
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>
This commit is contained in:
parent
f33d287393
commit
4323fdcf94
|
@ -79,6 +79,7 @@ static void usage(const char *name)
|
||||||
#endif
|
#endif
|
||||||
"\n"
|
"\n"
|
||||||
"Block device options:\n"
|
"Block device options:\n"
|
||||||
|
" -f, --format=FORMAT set image format (raw, qcow2, ...)\n"
|
||||||
" -r, --read-only export read-only\n"
|
" -r, --read-only export read-only\n"
|
||||||
" -s, --snapshot use FILE as an external snapshot, create a temporary\n"
|
" -s, --snapshot use FILE as an external snapshot, create a temporary\n"
|
||||||
" file with backing_file=FILE, redirect the write to\n"
|
" file with backing_file=FILE, redirect the write to\n"
|
||||||
|
|
|
@ -22,6 +22,8 @@ Export QEMU disk image using NBD protocol.
|
||||||
interface to bind to (default @samp{0.0.0.0})
|
interface to bind to (default @samp{0.0.0.0})
|
||||||
@item -k, --socket=@var{path}
|
@item -k, --socket=@var{path}
|
||||||
Use a unix socket with path @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
|
@item -r, --read-only
|
||||||
export read-only
|
export read-only
|
||||||
@item -P, --partition=@var{num}
|
@item -P, --partition=@var{num}
|
||||||
|
|
Loading…
Reference in New Issue