Kevin Wolf <kw...@redhat.com> wrote: > qcow_create2 assumes that the new image will only need one cluster for its > refcount table initially. Obviously that's not true any more when the image is > big enough (exact value depends on the cluster size). > > This patch calculates the refcount table size dynamically. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > v2: > - Made cluster calculation a bit more readable
Acked-by: Juan Quintela <quint...@redhat.com> This version is much more readable.