]> git.proxmox.com Git - qemu.git/commit
vmdk: Fix COW
authorKevin Wolf <kwolf@redhat.com>
Fri, 16 Apr 2010 17:28:14 +0000 (19:28 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 3 May 2010 08:07:31 +0000 (10:07 +0200)
commitc336500df5bf08492f4e7796b2193cd4976f3548
tree2ea0013567e432c50f27ea0f7231c61a20a0b9e7
parentf2feebbd93c251ec0098a9ccf808f7cb1da7f67c
vmdk: Fix COW

When trying to do COW, VMDK wrote the data back to the backing file. This
problem was revealed by the patch that made backing files read-only. This patch
does not only fix the problem, but also simplifies the VMDK code a bit.

This fixes the backing file qemu-iotests cases for VMDK.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vmdk.c