summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-02-08 13:19:07 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-08 11:14:19 -0600
commit0eb256a2173d35c64696189adcd3599be61922ef (patch)
treee705c4de1eb1657f93a2c17477626ff1107f015a
parent32ab06bcf1352848eec42629a85e20efa4e105dc (diff)
qemu-nbd: document --cache and --aio options
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--qemu-nbd.texi7
1 files changed, 6 insertions, 1 deletions
diff --git a/qemu-nbd.texi b/qemu-nbd.texi
index 6955d9032..3e57200e7 100644
--- a/qemu-nbd.texi
+++ b/qemu-nbd.texi
@@ -29,7 +29,12 @@ Export QEMU disk image using NBD protocol.
@item -s, --snapshot
use snapshot file
@item -n, --nocache
- disable host cache
+@itemx --cache=@var{cache}
+ set cache mode to be used with the file. See the documentation of
+ the emulator's @code{-drive cache=...} option for allowed values.
+@item --aio=@var{aio}
+ choose asynchronous I/O mode between @samp{threads} (the default)
+ and @samp{native} (Linux only).
@item -c, --connect=@var{dev}
connect @var{filename} to NBD device @var{dev}
@item -d, --disconnect