Re: [Qemu-devel] [PATCH for-4.2 07/13] qcow2: Add qcow2_check_fix_snapshot_table()

2019-07-30 Thread Eric Blake
On 7/30/19 12:25 PM, Max Reitz wrote: > qcow2_check_read_snapshot_table() can perform consistency checks, but it > cannot fix everything. Specifically, it cannot allocate new clusters, > because that should wait until the refcount structures are known to be > consistent (i.e., after qcow2_check_re

[Qemu-devel] [PATCH for-4.2 07/13] qcow2: Add qcow2_check_fix_snapshot_table()

2019-07-30 Thread Max Reitz
qcow2_check_read_snapshot_table() can perform consistency checks, but it cannot fix everything. Specifically, it cannot allocate new clusters, because that should wait until the refcount structures are known to be consistent (i.e., after qcow2_check_refcounts()). Thus, it cannot call qcow2_write_