Il 21/05/2013 18:26, Dietmar Maurer ha scritto: >> Hmm, right. But do we need the bitmap at all? We can just use >> > bdrv_is_allocated like bdrv_co_do_readv does. > Does that works with a nbd driver?
Ah, right. That's the answer. > Or does that add another RPC call (slow down)? It doesn't work at all. Thus Stefan's patch is fine (except if you don't use HBitmapIter, there's no advantage in using HBitmap; you can use qemu/bitmap.h instead). Paolo