On Wed, Feb 13, 2013 at 02:22:08PM +0100, Kevin Wolf wrote: > @@ -800,6 +820,9 @@ static inline coroutine_fn void > stop_l2meta(BlockDriverState *bs) > { > BDRVQcowState *s = bs->opaque; > > + /* Kick the requests once if they are sleepeing and then just wait until
s/sleepeing/sleeping/ > @@ -265,6 +275,8 @@ typedef struct QCowL2Meta > /** Pointer to next L2Meta of the same write request */ > struct QCowL2Meta *next; > > + void *kick_l2meta; Please forward declare KickL2Meta instead of using void*.