[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/4] qemu-nbd: add doc for internal snapshot export
From: |
Wenchao Xia |
Subject: |
[Qemu-devel] [PATCH 3/4] qemu-nbd: add doc for internal snapshot export |
Date: |
Wed, 17 Jul 2013 22:03:54 +0800 |
Signed-off-by: Wenchao Xia <address@hidden>
---
qemu-nbd.c | 2 ++
qemu-nbd.texi | 3 +++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/qemu-nbd.c b/qemu-nbd.c
index 46be2b2..8eeee33 100644
--- a/qemu-nbd.c
+++ b/qemu-nbd.c
@@ -80,6 +80,8 @@ static void usage(const char *name)
"Block device options:\n"
" -r, --read-only export read-only\n"
" -s, --snapshot use snapshot file\n"
+" -l, --snapshot-load temporarily load an internal snapshot and export it
as\n"
+" an read-only device, format is 'id=[ID],name=[NAME]'\n"
" -n, --nocache disable host cache\n"
" --cache=MODE set cache mode (none, writeback, ...)\n"
#ifdef CONFIG_LINUX_AIO
diff --git a/qemu-nbd.texi b/qemu-nbd.texi
index 6055ec6..86e8e1b 100644
--- a/qemu-nbd.texi
+++ b/qemu-nbd.texi
@@ -28,6 +28,9 @@ Export QEMU disk image using NBD protocol.
only expose partition @var{num}
@item -s, --snapshot
use snapshot file
address@hidden -l, --snapshot-load
+ temporarily load an internal snapshot and export it as
+ an read-only device, format is 'id=[ID],name=[NAME]'
@item -n, --nocache
@itemx address@hidden
set cache mode to be used with the file. See the documentation of
--
1.7.1
- [Qemu-devel] [PATCH 0/4] export internal snapshot by qemu-nbd, Wenchao Xia, 2013/07/17
- [Qemu-devel] [PATCH 3/4] qemu-nbd: add doc for internal snapshot export,
Wenchao Xia <=
- [Qemu-devel] [PATCH 1/4] snapshot: distinguish id and name in load_tmp, Wenchao Xia, 2013/07/17
- [Qemu-devel] [PATCH 2/4] qemu-nbd: support internal snapshot export, Wenchao Xia, 2013/07/17
- [Qemu-devel] [PATCH 4/4] qemu-iotests: add 057 internal snapshot export with qemu-nbd case, Wenchao Xia, 2013/07/17
- Re: [Qemu-devel] [PATCH 0/4] export internal snapshot by qemu-nbd, Eric Blake, 2013/07/17