Home
last modified time | relevance | path

Searched hist:cddff5bae1c8e0e21a5e6da04eff1d0a4423e5f3 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dblock.cdiff cddff5bae1c8e0e21a5e6da04eff1d0a4423e5f3 Mon Nov 16 09:43:27 CST 2015 Kevin Wolf <kwolf@redhat.com> 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>