Re: [Qemu-devel] [PATCH v5 1/7] qcow2: Assert that cluster operations are aligned

2017-03-06 Thread Eric Blake
On 02/15/2017 06:25 AM, Kevin Wolf wrote: > Am 14.02.2017 um 20:25 hat Eric Blake geschrieben: >> qcow2_discard_clusters() is set up to silently ignore sub-cluster >> head or tail on unaligned requests. However, it is easy to audit >> the various callers: qcow2_snapshot_create() has always passed

Re: [Qemu-devel] [PATCH v5 1/7] qcow2: Assert that cluster operations are aligned

2017-02-15 Thread Kevin Wolf
Am 14.02.2017 um 20:25 hat Eric Blake geschrieben: > qcow2_discard_clusters() is set up to silently ignore sub-cluster > head or tail on unaligned requests. However, it is easy to audit > the various callers: qcow2_snapshot_create() has always passed > aligned data since the call was introduced in

[Qemu-devel] [PATCH v5 1/7] qcow2: Assert that cluster operations are aligned

2017-02-14 Thread Eric Blake
qcow2_discard_clusters() is set up to silently ignore sub-cluster head or tail on unaligned requests. However, it is easy to audit the various callers: qcow2_snapshot_create() has always passed aligned data since the call was introduced in 1ebf561; qcow2_co_pdiscard() has passed aligned clusters s