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

2016-01-11 Thread Vladimir Sementsov-Ogievskiy
On 04.01.2016 13:27, 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 chosen. These

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

2016-01-11 Thread Vladimir Sementsov-Ogievskiy
On 08.01.2016 00:11, John Snow wrote: On 01/04/2016 05:27 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

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

2016-01-11 Thread Vladimir Sementsov-Ogievskiy
On 04.01.2016 13:27, 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 chosen. These

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

2016-01-07 Thread John Snow
On 01/04/2016 05:27 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 11/13] hbitmap: serialization

2016-01-04 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