Re: [Qemu-devel] [PATCH 01/12] hbitmap: serialization

2015-08-20 Thread Stefan Hajnoczi
On Fri, Aug 07, 2015 at 12:32:33PM +0300, Vladimir Sementsov-Ogievskiy wrote: +/** + * hbitmap_serialize_part + * @hb: HBitmap to oprate on. s/oprate/operate/ + * @buf: Buffer to store serialized bitmap. + * @start: First bit to store. + * @count: Number of bits to store. + * + * Stores

[Qemu-devel] [PATCH 01/12] hbitmap: serialization

2015-08-07 Thread Vladimir Sementsov-Ogievskiy
From: Vladimir Sementsov-Ogievskiy vsement...@parallels.com 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

[Qemu-devel] [PATCH 01/12] hbitmap: serialization

2015-05-13 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