Re: [Qemu-devel] [PATCH v5 09/26] qcow2: Helper for refcount array reallocation

2015-02-04 Thread Max Reitz
On 2015-02-04 at 08:21, Kevin Wolf wrote: Am 15.12.2014 um 13:50 hat Max Reitz geschrieben: Add a helper function for reallocating a refcount array, independent of the refcount order. The newly allocated space is zeroed and the function handles failed reallocations gracefully. The helper functi

Re: [Qemu-devel] [PATCH v5 09/26] qcow2: Helper for refcount array reallocation

2015-02-04 Thread Kevin Wolf
Am 15.12.2014 um 13:50 hat Max Reitz geschrieben: > Add a helper function for reallocating a refcount array, independent of > the refcount order. The newly allocated space is zeroed and the function > handles failed reallocations gracefully. > > The helper function will always align the buffer siz

[Qemu-devel] [PATCH v5 09/26] qcow2: Helper for refcount array reallocation

2014-12-15 Thread Max Reitz
Add a helper function for reallocating a refcount array, independent of the refcount order. The newly allocated space is zeroed and the function handles failed reallocations gracefully. The helper function will always align the buffer size to a cluster boundary; if storing the refcounts in such an