summaryrefslogtreecommitdiff
path: root/hw/ide/core.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2010-10-14 15:46:04 +0200
committerKevin Wolf <kwolf@redhat.com>2010-10-22 14:49:35 +0200
commita18953fbe72ba553a564ba11fdda03aac41d4f38 (patch)
tree6ee839ffe235f03cd3bb6172099b747099a3dd7b /hw/ide/core.c
parenta77cffe7e916f4dd28f2048982ea2e0d98143b11 (diff)
downloadqemu-a18953fbe72ba553a564ba11fdda03aac41d4f38.tar.gz
qemu-img: Fix qemu-img convert -obacking_file
The old -B option caused a backing file to be used for the converted image and to avoid copying clusters from the old backing file. When replaced with -obacking_file, qemu-img convert does assign the backing file to the new image, but it doesn't realize that it should avoid copying clusters from the backing file. This patch checks the -o options for a backing_file and applies the same logic as for -B in this case. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/core.c')
0 files changed, 0 insertions, 0 deletions