Message ID | cover.1599150873.git.berto@igalia.com |
---|---|
Headers | show |
Series | qcow2: Fix removal of list members from BDRVQcow2State.cluster_allocs | expand |
On 03.09.20 18:37, Alberto Garcia wrote: > Hi, > > here are the changes from v1: > > - Split changes into three different patches. > - Rewrite the documentation of qcow2_alloc_cluster_offset() [Max] > - Use peek_file_be in the test case to read the offset of the refcount > table [Max]. > - Extend the list of unsupported options for the test case [Max]. > > Berto Thanks, applied to my block branch: https://git.xanclic.moe/XanClic/qemu/commits/branch/block
On Fri 04 Sep 2020 11:28:18 AM CEST, Max Reitz wrote: >> + * If any clusters or subclusters were allocated then @m contains a >> + * list with the information of all the affected regions. Note that >> + * this can happen regardless of whether this function succeeds or >> + * not. The caller is responsible for updating the L2 metadata of the >> + * allocated clusters (on success) or freeing them (on failure), and >> + * for clearing the contents of @m afterwards in both cases. > > It’s too bad that preallocate_co() doesn’t do that then, isn’t it... I was planning to have a closer look at that function next week. Berto