summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKevin Wolf2015-11-16 16:43:27 +0100
committerKevin Wolf2015-12-18 14:34:42 +0100
commitcddff5bae1c8e0e21a5e6da04eff1d0a4423e5f3 (patch)
tree22807bca8815110a6318d980fa3f15b83b75538e /include
parentqcow2: Add .bdrv_join_options callback (diff)
downloadqemu-cddff5bae1c8e0e21a5e6da04eff1d0a4423e5f3.tar.gz
qemu-cddff5bae1c8e0e21a5e6da04eff1d0a4423e5f3.tar.xz
qemu-cddff5bae1c8e0e21a5e6da04eff1d0a4423e5f3.zip
block: Fix reopen with semantically overlapping options
This fixes bdrv_reopen() calls like the following one: qemu-io -c 'open -o overlap-check.template=all /tmp/test.qcow2' \ -c 'reopen -o overlap-check=none' The approach taken so far would result in an options QDict that has both "overlap-check.template=all" and "overlap-check=none", which obviously conflicts. In this case, the old option should be overridden by the newly specified option. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions