Re: [Qemu-devel] [PATCH] coroutine: Drop co_sleep_ns

2014-08-28 Thread Stefan Hajnoczi
On Tue, Aug 26, 2014 at 03:15:43PM +0800, Fam Zheng wrote: > block_job_sleep_ns is the only user. Since we are moving towards > AioContext aware code, it's better to use the explict version and drop > the old one. > > Signed-off-by: Fam Zheng > --- > blockjob.c| 2 +- > include/

Re: [Qemu-devel] [PATCH] coroutine: Drop co_sleep_ns

2014-08-26 Thread Benoît Canet
The Tuesday 26 Aug 2014 à 15:15:43 (+0800), Fam Zheng wrote : > block_job_sleep_ns is the only user. Since we are moving towards > AioContext aware code, it's better to use the explict version and drop s/explict/explicit/g ?G > the old one. > > Signed-off-by: Fam Zheng > --- > blockjob.c

[Qemu-devel] [PATCH] coroutine: Drop co_sleep_ns

2014-08-26 Thread Fam Zheng
block_job_sleep_ns is the only user. Since we are moving towards AioContext aware code, it's better to use the explict version and drop the old one. Signed-off-by: Fam Zheng --- blockjob.c| 2 +- include/block/coroutine.h | 8 qemu-coroutine-sleep.c| 12 ---