Re: [Qemu-devel] [PATCH v10 07/10] hbitmap: serialization

2016-11-28 Thread John Snow
On 11/25/2016 09:59 AM, Markus Armbruster wrote: John Snow writes: 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. Therefo

Re: [Qemu-devel] [PATCH v10 07/10] hbitmap: serialization

2016-11-25 Thread Markus Armbruster
John Snow writes: > 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 functio

[Qemu-devel] [PATCH v10 07/10] hbitmap: serialization

2016-10-13 Thread John Snow
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