Re: [Qemu-devel] [PATCH v2 2/5] qcow2: Metadata overlap checks

2013-08-29 Thread Max Reitz
Am 29.08.2013 10:51, schrieb Kevin Wolf: Am 28.08.2013 um 16:55 hat Max Reitz geschrieben: Two new functions are added; the first one checks a given range in the image file for overlaps with metadata (main header, L1 tables, L2 tables, refcount table and blocks). The second one should be used i

Re: [Qemu-devel] [PATCH v2 2/5] qcow2: Metadata overlap checks

2013-08-29 Thread Kevin Wolf
Am 28.08.2013 um 16:55 hat Max Reitz geschrieben: > Two new functions are added; the first one checks a given range in the > image file for overlaps with metadata (main header, L1 tables, L2 > tables, refcount table and blocks). > > The second one should be used immediately before writing to the i

[Qemu-devel] [PATCH v2 2/5] qcow2: Metadata overlap checks

2013-08-28 Thread Max Reitz
Two new functions are added; the first one checks a given range in the image file for overlaps with metadata (main header, L1 tables, L2 tables, refcount table and blocks). The second one should be used immediately before writing to the image file as it calls the first function and, upon collision