diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-03-06 18:55:59 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-03-12 15:14:07 +0100 |
commit | 6cc2a4157b31c47303da96c5ed7836db3c10def6 (patch) | |
tree | f31c97b9ca1ffffd7eb7c8aef2ab933b36d3479a /qmp-commands.hx | |
parent | bc8b094feb61c5f3ad55113f1c9b3288dd843b10 (diff) | |
download | qemu-6cc2a4157b31c47303da96c5ed7836db3c10def6.tar.gz qemu-6cc2a4157b31c47303da96c5ed7836db3c10def6.tar.bz2 qemu-6cc2a4157b31c47303da96c5ed7836db3c10def6.zip |
qmp: convert blockdev-snapshot-sync to a wrapper around transactions
Simplify the blockdev-snapshot-sync code and gain failsafe operation
by turning it into a wrapper around the new transaction command. A new
option is also added matching "mode".
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r-- | qmp-commands.hx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx index 7c03b622c1..dfe8a5b40b 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -760,6 +760,8 @@ Arguments: - "device": device name to snapshot (json-string) - "snapshot-file": name of new image file (json-string) +- "mode": whether and how QEMU should create the snapshot file + (NewImageMode, optional, default "absolute-paths") - "format": format of new image (json-string, optional) Example: |