Re: [Qemu-devel] [PATCH v4 06/15] block: Hide HBitmap in block dirty bitmap interface

2016-03-11 Thread Max Reitz
On 11.03.2016 14:54, Max Reitz wrote: > On 08.03.2016 05:44, Fam Zheng wrote: >> HBitmap is an implementation detail of block dirty bitmap that should be >> hidden >> from users. Introduce a BdrvDirtyBitmapIter to encapsulate the underlying >> HBitmapIter. >> >> A small difference in the interface

Re: [Qemu-devel] [PATCH v4 06/15] block: Hide HBitmap in block dirty bitmap interface

2016-03-11 Thread Max Reitz
On 08.03.2016 05:44, Fam Zheng wrote: > HBitmap is an implementation detail of block dirty bitmap that should be > hidden > from users. Introduce a BdrvDirtyBitmapIter to encapsulate the underlying > HBitmapIter. > > A small difference in the interface is, before, an HBitmapIter is initialized >

[Qemu-devel] [PATCH v4 06/15] block: Hide HBitmap in block dirty bitmap interface

2016-03-07 Thread Fam Zheng
HBitmap is an implementation detail of block dirty bitmap that should be hidden from users. Introduce a BdrvDirtyBitmapIter to encapsulate the underlying HBitmapIter. A small difference in the interface is, before, an HBitmapIter is initialized in place, now the new BdrvDirtyBitmapIter must be dyn