Re: [Qemu-devel] [PATCH V4 3/3] layout: Add generators of L1/L2 tables

2014-08-14 Thread Stefan Hajnoczi
On Mon, Aug 11, 2014 at 03:01:10PM +0400, Maria Kustova wrote: > @@ -126,63 +187,59 @@ class Image(object): > ['>I', 96, 4, 'refcount_order'], > ['>I', 100, 0, 'header_length'] > ] > -v_header = FieldsList(meta_header) > +self.header = FieldsList(m

[Qemu-devel] [PATCH V4 3/3] layout: Add generators of L1/L2 tables

2014-08-11 Thread Maria Kustova
Entries in L1/L2 entries are based on a portion of random guest clusters. L2 entries contain offsets to host image clusters filled with random data. Clusters for L1/L2 tables and guest data are selected randomly. Signed-off-by: Maria Kustova --- tests/image-fuzzer/qcow2/layout.py | 255 +