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

2016-07-14 Thread John Snow
On 06/28/2016 10:15 AM, Vladimir Sementsov-Ogievskiy wrote: > On 03.06.2016 07:32, 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 >> a

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

2016-06-28 Thread Vladimir Sementsov-Ogievskiy
On 03.06.2016 07:32, 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

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

2016-06-02 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