1 2 3 4 5 6 7 8 9 10
--- block-qcow2.c 2006/08/07 02:38:06 1.4 +++ block-qcow2.c 2007/04/01 19:01:40 1.5 @@ -1933,6 +1933,7 @@ qemu_free(s->refcount_table); s->refcount_table = new_table; s->refcount_table_size = new_table_size; + s->refcount_table_offset = table_offset; update_refcount(bs, table_offset, new_table_size2, 1); return 0;