]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.c
qcow2: introduce dirty bit
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 27 Jul 2012 08:05:19 +0000 (09:05 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 6 Aug 2012 20:39:14 +0000 (22:39 +0200)
commitc61d0004bc37182cae0f92a865ad2f0625762610
treee1a72496aff38b75331d2ec30fb810c55ba318a5
parent0f6d767aa84676a2374d38797f42df4595415369
qcow2: introduce dirty bit

This patch adds an incompatible feature bit to mark images that have not
been closed cleanly.  When a dirty image file is opened a consistency
check and repair is performed.

Update qemu-iotests 031 and 036 since the extension header size changes
when we add feature bit table entries.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c
block/qcow2.h
tests/qemu-iotests/031.out
tests/qemu-iotests/036.out