]> git.proxmox.com Git - qemu.git/commit - hmp.c
qmp: convert blockdev-snapshot-sync to a wrapper around transactions
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Mar 2012 17:55:59 +0000 (18:55 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 12 Mar 2012 14:14:07 +0000 (15:14 +0100)
commit6cc2a4157b31c47303da96c5ed7836db3c10def6
treef31c97b9ca1ffffd7eb7c8aef2ab933b36d3479a
parentbc8b094feb61c5f3ad55113f1c9b3288dd843b10
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>
blockdev.c
hmp-commands.hx
hmp.c
qapi-schema.json
qmp-commands.hx