]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.c
qcow2: Leave s unchanged on qcow2_update_options() failure
authorKevin Wolf <kwolf@redhat.com>
Thu, 16 Apr 2015 11:11:39 +0000 (13:11 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Sep 2015 14:51:36 +0000 (16:51 +0200)
commit007dbc396cfc613d72ecea7744fe7398b300aa7d
tree7b98344bd41ee4a725b18f7162c78569aa5c5282
parent94edf3fbe8277284ad7d33de632839c7b93414a9
qcow2: Leave s unchanged on qcow2_update_options() failure

On return, either all new options should be applied to BDRVQcowState (on
success), or all of the old settings should be preserved (on failure).

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