Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use glib memory allocation and free functions | Anthony Liguori | 2011-08-21 | 1 | -2/+2 |
| | | | | | | qemu_malloc/qemu_free no longer exist after this commit. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> | ||||
* | qed: Add support for zero clusters | Anthony Liguori | 2011-04-13 | 1 | -10/+21 |
| | | | | | | | | | | | | | 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> | ||||
* | qed: Table, L2 cache, and cluster functions | Stefan Hajnoczi | 2010-12-17 | 1 | -0/+154 |
This patch adds code to look up data cluster offsets in the image via the L1/L2 tables. The L2 tables are writethrough cached in memory for performance (each read/write requires a lookup so it is essential to cache the tables). With cluster lookup code in place it is possible to implement bdrv_is_allocated() to query the number of contiguous allocated/unallocated clusters. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> |