]> git.proxmox.com Git - qemu.git/commit - block/qed.c
qed: Add support for zero clusters
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 17 Dec 2010 15:58:22 +0000 (15:58 +0000)
committerKevin Wolf <kwolf@redhat.com>
Wed, 13 Apr 2011 10:06:41 +0000 (12:06 +0200)
commit21df65b6444858ddee3a86d8666571bb41695614
tree142793b8ae8e6fef8b1aa412cf39e2340091fdf9
parentd54f10bba7635b5ad8b750afd2bb2f0f8eb68b45
qed: Add support for zero clusters

Zero clusters are similar to unallocated clusters except instead of reading
their value from a backing file when one is available, the cluster is always
read as zero.

This implements read support only.  At this stage, QED will never write a
zero cluster.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qed-check.c
block/qed-cluster.c
block/qed.c
block/qed.h