mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
qemu-nbd: support internal snapshot export
Now it is possible to directly export an internal snapshot, which can be used to probe the snapshot's contents without qemu-img convert. Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
7b4c4781e3
commit
8c116b0e41
4 changed files with 77 additions and 3 deletions
|
@ -27,7 +27,13 @@ Export QEMU disk image using NBD protocol.
|
|||
@item -P, --partition=@var{num}
|
||||
only expose partition @var{num}
|
||||
@item -s, --snapshot
|
||||
use snapshot file
|
||||
use @var{filename} as an external snapshot, create a temporary
|
||||
file with backing_file=@var{filename}, redirect the write to
|
||||
the temporary one
|
||||
@item -l, --load-snapshot=@var{snapshot_param}
|
||||
load an internal snapshot inside @var{filename} and export it
|
||||
as an read-only device, @var{snapshot_param} format is
|
||||
'snapshot.id=[ID],snapshot.name=[NAME]' or '[ID_OR_NAME]'
|
||||
@item -n, --nocache
|
||||
@itemx --cache=@var{cache}
|
||||
set cache mode to be used with the file. See the documentation of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue