]> 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>
Wed, 14 Jul 2010 08:41:09 +0000 (10:41 +0200)
commit34d0d68bdf295fe834b7c49d3f610fe86f587c6e
treedd5596691dd6ba89ba18506897a54795d8c84b1c
parent82e9cbeb0d369a896e898fee6ab6527e416ee631
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>
(cherry picked from commit c336500df5bf08492f4e7796b2193cd4976f3548)
block/vmdk.c