Re: [Qemu-devel] [PATCH v2 11/13] hbitmap: serialization

2016-02-27 Thread Fam Zheng
On Tue, 01/26 12:01, John Snow wrote: > > > On 01/20/2016 01:11 AM, Fam Zheng wrote: > > From: Vladimir Sementsov-Ogievskiy > > > > Functions to serialize / deserialize(restore) HBitmap. HBitmap should be > > saved to linear sequence of bits independently of endianness and bitmap > > array elem

Re: [Qemu-devel] [PATCH v2 11/13] hbitmap: serialization

2016-01-26 Thread John Snow
On 01/20/2016 01:11 AM, Fam Zheng wrote: > From: Vladimir Sementsov-Ogievskiy > > Functions to serialize / deserialize(restore) HBitmap. HBitmap should be > saved to linear sequence of bits independently of endianness and bitmap > array element (unsigned long) size. Therefore Little Endian is c

[Qemu-devel] [PATCH v2 11/13] hbitmap: serialization

2016-01-19 Thread Fam Zheng
From: Vladimir Sementsov-Ogievskiy Functions to serialize / deserialize(restore) HBitmap. HBitmap should be saved to linear sequence of bits independently of endianness and bitmap array element (unsigned long) size. Therefore Little Endian is chosen. These functions are appropriate for dirty bit