On 22/01/2015 09:53, Pavel Dovgalyuk wrote: > - return thread_pool_submit_aio(pool, aio_worker, acb, cb, opaque); > + return thread_pool_submit_aio(pool, aio_worker, acb, cb, opaque, > + qiov ? qiov->replay : false, > + qiov ? qiov->replay_step : 0);
Adding the replay/replay_step to the QEMUIOVector is... weird. You're paying for the fact that we do not have a BlockRequest struct that is used throughout. I guess we can live with this until other problems are solved, then we can discuss this with the block folks and go for a more complete solution. Paolo