Re: [Qemu-devel] [PATCH RFC v2 2/8] hbitmap: serialization

2015-02-10 Thread John Snow
On 01/27/2015 05:56 AM, Vladimir Sementsov-Ogievskiy wrote: 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 ar

[Qemu-devel] [PATCH RFC v2 2/8] hbitmap: serialization

2015-01-27 Thread 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 bitmap migration, restoring the bitmap i