aboutsummaryrefslogtreecommitdiff
path: root/block/qcow2-refcount.c
AgeCommit message (Expand)AuthorFilesLines
2022-04-20qcow2: Add errp to rebuild_refcount_structure()Hanna Reitz1-14/+19
2022-04-20qcow2: Improve refcount structure rebuildingHanna Reitz1-97/+235
2022-03-22compiler.h: replace QEMU_WARN_UNUSED_RESULT with G_GNUC_WARN_UNUSED_RESULTMarc-André Lureau1-9/+11
2022-03-07osdep: Move memalign-related functions to their own headerPeter Maydell1-0/+1
2021-09-15qcow2-refcount: check_refblocks(): add separate message for reservedVladimir Sementsov-Ogievskiy1-1/+9
2021-09-15qcow2-refcount: check_refcounts_l1(): check reserved bitsVladimir Sementsov-Ogievskiy1-0/+6
2021-09-15qcow2-refcount: improve style of check_refcounts_l1()Vladimir Sementsov-Ogievskiy1-48/+50
2021-09-15qcow2-refcount: check_refcounts_l2(): check reserved bitsVladimir Sementsov-Ogievskiy1-1/+13
2021-09-15qcow2-refcount: check_refcounts_l2(): check l2_bitmapVladimir Sementsov-Ogievskiy1-2/+26
2021-09-15qcow2-refcount: fix_l2_entry_by_zero(): also zero L2 entry bitmapVladimir Sementsov-Ogievskiy1-3/+15
2021-09-15qcow2-refcount: introduce fix_l2_entry_by_zero()Vladimir Sementsov-Ogievskiy1-27/+60
2021-09-15qcow2: introduce qcow2_parse_compressed_l2_entry() helperVladimir Sementsov-Ogievskiy1-19/+17
2021-09-15qcow2-refcount: improve style of check_refcounts_l2()Vladimir Sementsov-Ogievskiy1-23/+24
2020-09-15qcow2: Make qcow2_free_any_clusters() free only one clusterAlberto Garcia1-4/+4
2020-09-15qcow2: Use macros for the L1, refcount and bitmap table entry sizesAlberto Garcia1-43/+46
2020-08-25qcow2: Add subcluster support to check_refcounts_l2()Alberto Garcia1-5/+11
2020-08-25qcow2: Add l2_entry_size()Alberto Garcia1-6/+8
2020-08-25qcow2: Add get_l2_entry() and set_l2_entry()Alberto Garcia1-8/+9
2020-05-05block: Comment cleanupsEric Blake1-1/+1
2020-04-30block: Add flags to bdrv(_co)_truncate()Kevin Wolf1-1/+1
2020-02-18qcow2: update_refcount(): Reset old_table_index after qcow2_cache_put()Kevin Wolf1-0/+1
2020-02-06qcow2: Don't round the L1 table allocation up to the sector sizeAlberto Garcia1-1/+1
2019-10-28block: Add @exact parameter to bdrv_co_truncate()Max Reitz1-1/+1
2019-10-25qcow2: Fix corruption bug in qcow2_detect_metadata_preallocation()Kevin Wolf1-0/+2
2019-06-12Include qemu-common.h exactly where neededMarkus Armbruster1-1/+0
2019-06-04block/qcow2-refcount: add trace-point to qcow2_process_discardsVladimir Sementsov-Ogievskiy1-1/+6
2019-06-04block: avoid recursive block_status call if possibleVladimir Sementsov-Ogievskiy1-0/+32
2019-05-28qcow2.h: add missing includeVladimir Sementsov-Ogievskiy1-1/+0
2019-05-20qcow2: Define and use QCOW2_COMPRESSED_SECTOR_SIZEAlberto Garcia1-11/+14
2019-05-10qcow2: Replace bdrv_write() with bdrv_pwrite()Alberto Garcia1-2/+2
2019-05-07qcow2-refcount: don't mask corruptions under internal errorsVladimir Sementsov-Ogievskiy1-10/+9
2019-05-07qcow2-refcount: check_refcounts_l2: don't count fixed cluster as allocatedVladimir Sementsov-Ogievskiy1-9/+9
2019-05-07qcow2-refcount: check_refcounts_l2: reduce ignored overlapsVladimir Sementsov-Ogievskiy1-7/+9
2019-05-07qcow2-refcount: avoid eating RAMVladimir Sementsov-Ogievskiy1-0/+19
2019-05-07qcow2-refcount: fix check_oflag_copiedVladimir Sementsov-Ogievskiy1-4/+4
2019-03-08qcow2: Support external data file in qemu-img checkKevin Wolf1-11/+30
2019-03-08qcow2: External file I/OKevin Wolf1-9/+30
2019-03-08qcow2: Pass bs to qcow2_get_cluster_type()Kevin Wolf1-5/+5
2019-02-01qcow2: Assert that refcount block offsets fit in the refcount tableAlberto Garcia1-0/+3
2018-11-19qcow2: Don't allow overflow during cluster allocationEric Blake1-7/+13
2018-11-12qcow2: Read outside array bounds in qcow2_pre_write_overlap_check()Liam Merwick1-8/+10
2018-07-10Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into stagingPeter Maydell1-1/+1
2018-07-10block: Use BdrvChild to discardFam Zheng1-1/+1
2018-07-09qcow2: add overlap check for bitmap directoryVladimir Sementsov-Ogievskiy1-0/+10
2018-06-11qcow2: Repair OFLAG_COPIED when fixing leaksMax Reitz1-8/+17
2018-05-31block: use local path for local headersMichael S. Tsirkin1-1/+1
2018-05-15Fix error message about compressed clusters with OFLAG_COPIEDAlberto Garcia1-2/+2
2018-03-26qcow2: Reset free_cluster_index when allocating a new refcount blockAlberto Garcia1-0/+7
2018-03-09qcow2: Make qemu-img check detect corrupted L1 tables in snapshotsAlberto Garcia1-0/+14
2018-03-09qcow2: Check snapshot L1 tables in qcow2_check_metadata_overlap()Alberto Garcia1-1/+9