]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.c
qcow2: Make qcow2_update_options() suitable for transactions
authorKevin Wolf <kwolf@redhat.com>
Thu, 16 Apr 2015 14:16:02 +0000 (16:16 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Sep 2015 14:51:37 +0000 (16:51 +0200)
commitee55b17304d998ddf9c792496110da0cca37aac5
tree4b7dd2224b161cc16d07f16edfa548253e072d34
parentc1344ded70cf7d471aeb6fc08134997414631811
qcow2: Make qcow2_update_options() suitable for transactions

Before we can allow updating options at runtime with bdrv_reopen(), we
need to split the function into prepare/commit/abort parts.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block/qcow2.c