]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.c
qcow2: Support updating driver-specific options in reopen
authorKevin Wolf <kwolf@redhat.com>
Thu, 16 Apr 2015 11:42:27 +0000 (13:42 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Sep 2015 14:51:37 +0000 (16:51 +0200)
commit5b0959a7d432062dcd740f8065004285b15695fa
tree4224d1b5538bdef3dc4878b6c6e9f03312cbdbbc
parentee55b17304d998ddf9c792496110da0cca37aac5
qcow2: Support updating driver-specific options in reopen

For updating the cache sizes, disabling lazy refcounts and updating the
clean_cache_timer there is a bit more to do than just changing the
variables, but otherwise we're all set for changing options during
bdrv_reopen().

Just implement the missing pieces and hook the functions up in
bdrv_reopen().

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