Re: [Qemu-block] [PATCH v8 07/10] hbitmap: serialization

2016-09-17 Thread Max Reitz
On 02.08.2016 02:12, John Snow 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

[Qemu-block] [PATCH v8 07/10] hbitmap: serialization

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