On Thu, Nov 09, 2017 at 10:26:52AM +0000, Stefan Hajnoczi wrote: > The AioContext pointer argument to co_aio_sleep_ns() is only used for > the sleep timer. It does not affect where the caller coroutine is > resumed. > > Due to changes to coroutine and AIO APIs it is now possible to drop the > AioContext pointer argument. This is safe to do since no caller has > specific requirements for which AioContext the timer must run in. > > This patch drops the AioContext pointer argument and renames the > function to simplify the API. > > Reported-by: Paolo Bonzini <pbonz...@redhat.com> > Reported-by: Eric Blake <ebl...@redhat.com> > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> > --- > include/qemu/coroutine.h | 6 +----- > block/null.c | 3 +-- > block/sheepdog.c | 3 +-- > blockjob.c | 2 +- > util/qemu-coroutine-sleep.c | 4 ++-- > 5 files changed, 6 insertions(+), 12 deletions(-)
Thanks, applied to my block-next tree for QEMU 2.12: https://github.com/stefanha/qemu/commits/block-next Stefan
signature.asc
Description: PGP signature