Re: [Qemu-devel] [PATCH v4 07/10] qcow2: Rebuild refcount structure during check

2014-08-29 Thread Max Reitz
On 28.08.2014 18:08, Benoît Canet wrote: On Wed, Aug 27, 2014 at 10:18:23PM +0200, Max Reitz wrote: The previous commit introduced the "rebuild" variable to qcow2's implementation of the image consistency check. Now make use of this by adding a function which creates a completely new refcount st

Re: [Qemu-devel] [PATCH v4 07/10] qcow2: Rebuild refcount structure during check

2014-08-28 Thread Benoît Canet
On Wed, Aug 27, 2014 at 10:18:23PM +0200, Max Reitz wrote: > The previous commit introduced the "rebuild" variable to qcow2's > implementation of the image consistency check. Now make use of this by > adding a function which creates a completely new refcount structure > based solely on the in-memor

[Qemu-devel] [PATCH v4 07/10] qcow2: Rebuild refcount structure during check

2014-08-27 Thread Max Reitz
The previous commit introduced the "rebuild" variable to qcow2's implementation of the image consistency check. Now make use of this by adding a function which creates a completely new refcount structure based solely on the in-memory information gathered before. The old refcount structure will be