]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.c
qcow2: Add overlap-check.template option
authorMax Reitz <mreitz@redhat.com>
Wed, 20 Aug 2014 17:59:35 +0000 (19:59 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 22 Sep 2014 10:39:34 +0000 (11:39 +0100)
commitee42b5ce0b33986970f5c2fd4b676cddc0d6306c
treec84af25fc1cc0da8d8220e2445591f7878bdac19
parente775ba7721181e3ff6677b91f0464968330988d9
qcow2: Add overlap-check.template option

Being able to set the overlap-check option to a string and then refine
it via the overlap-check.* options is a nice idea for the command line
but does not work so well for non-flattened dicts. In that case, one can
only specify either but not both, so add a field to overlap-check.*
which does the same as directly specifying overlap-check but can be used
in conjunction with the other fields in non-flattened dicts.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1408557576-14574-4-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qcow2.c
block/qcow2.h