summaryrefslogtreecommitdiff
path: root/block/qcow2-refcount.c
AgeCommit message (Expand)AuthorFilesLines
2015-07-02qcow2: Handle EAGAIN returned from update_refcountJindřich Makovička1-10/+12
2015-05-22qcow2: make qcow2_cache_put() a void functionAlberto Garcia1-24/+5
2015-05-22qcow2: use one single memory block for the L2/refcount cache tablesAlberto Garcia1-3/+5
2015-05-22qcow2: Flush pending discards before allocating clusterKevin Wolf1-0/+5
2015-04-28Convert (ffs(val) - 1) to ctz32(val)Stefan Hajnoczi1-1/+1
2015-03-16qcow2: Respect new_block in alloc_refcount_block()Max Reitz1-2/+14
2015-03-10qcow2: More helpers for refcount modificationMax Reitz1-2/+119
2015-03-10qcow2: Helper function for refcount modificationMax Reitz1-53/+73
2015-03-10qcow2: Helper for refcount array reallocationMax Reitz1-49/+81
2015-03-10qcow2: Use 64 bits for refcount valuesMax Reitz1-21/+19
2015-03-10qcow2: Use unsigned addend for update_refcount()Max Reitz1-22/+43
2015-03-10qcow2: Only return status from qcow2_get_refcountMax Reitz1-39/+47
2015-03-10qcow2: Do not return new value after refcount updateMax Reitz1-10/+15
2015-03-10qcow2: Add two new fields to BDRVQcowStateMax Reitz1-2/+2
2015-02-06qcow2: Rewrite qcow2_alloc_bytes()Max Reitz1-39/+39
2014-11-03block/qcow2: Make get_refcount() globalMax Reitz1-13/+13
2014-10-23qcow2: Drop REFCOUNT_SHIFTMax Reitz1-18/+14
2014-10-23qcow2: Clean up after refcount rebuildMax Reitz1-0/+45
2014-10-23qcow2: Rebuild refcount structure during checkMax Reitz1-6/+305
2014-10-23qcow2: Do not perform potentially damaging repairsMax Reitz1-161/+27
2014-10-23qcow2: Fix refcount blocks beyond image endMax Reitz1-4/+63
2014-10-23qcow2: Reuse refcount table in calculate_refcounts()Max Reitz1-5/+7
2014-10-23qcow2: Let inc_refcounts() resize the reftableMax Reitz1-22/+35
2014-10-23qcow2: Let inc_refcounts() return -errnoMax Reitz1-31/+60
2014-10-23qcow2: Split fail code in L1 and L2 checksMax Reitz1-9/+14
2014-10-23qcow2: Use int64_t for in-memory reftable sizeMax Reitz1-3/+3
2014-10-23qcow2: Pull check_refblocks() upMax Reitz1-53/+49
2014-10-23qcow2: Use sizeof(**refcount_table)Max Reitz1-1/+1
2014-10-23qcow2: Split qcow2_check_refcounts()Max Reitz1-51/+102
2014-10-20qcow2: fix leak of Qcow2DiscardRegion in update_refcount_discardZhang Haoyu1-0/+1
2014-09-22qcow2: Check L1/L2/reftable entries for alignmentMax Reitz1-2/+42
2014-09-22qcow2: Use qcow2_signal_corruption() for overlapsMax Reitz1-21/+3
2014-09-22qapi/block: Add "fatal" to BLOCK_IMAGE_CORRUPTEDMax Reitz1-0/+1
2014-08-20block: Use g_new() & friends where that makes obvious senseMarkus Armbruster1-4/+4
2014-08-15qcow2: fix new_blocks double-free in alloc_refcount_block()Stefan Hajnoczi1-0/+1
2014-08-15qcow2: Return useful error code in refcount_init()Max Reitz1-2/+4
2014-08-15qcow2: Handle failure for potentially large allocationsKevin Wolf1-10/+38
2014-06-23qapi event: convert BLOCK_IMAGE_CORRUPTEDWenchao Xia1-6/+8
2014-05-09qcow2: Fix alloc_clusters_noref() overflow detectionMax Reitz1-1/+3
2014-04-30qcow2: Catch bdrv_getlength() errorMax Reitz1-0/+5
2014-04-30qcow2: Avoid overflow in alloc_clusters_noref()Max Reitz1-0/+7
2014-04-01qcow2: Protect against some integer overflows in bdrv_checkKevin Wolf1-9/+9
2014-04-01qcow2: Fix types in qcow2_alloc_clusters and alloc_clusters_norefKevin Wolf1-5/+6
2014-04-01qcow2: Check new refcount table size on growthKevin Wolf1-0/+4
2014-04-01qcow2: Avoid integer overflow in get_refcount (CVE-2014-0143)Kevin Wolf1-1/+1
2014-04-01qcow2: Don't rely on free_cluster_index in alloc_refcount_block() (CVE-2014-0...Kevin Wolf1-35/+37
2014-04-01qcow2: Check refcount table size (CVE-2014-0144)Kevin Wolf1-1/+3
2014-03-19qcow2: Fix fail path in realloc_refcount_block()Max Reitz1-16/+18
2014-03-19qcow2: Correct comment for realloc_refcount_block()Max Reitz1-1/+1
2014-03-13qcow2-refcount: Sanitize refcount table entryMax Reitz1-1/+2