block: move AioContext, QEMUTimer, main-loop to libqemuutil
AioContext is fairly self contained, the only dependency is QEMUTimer but that in turn doesn't need anything else. So move them out of block-obj-y to avoid introducing a dependency from io/ to block-obj-y. main-loop and its dependency iohandler also need to be moved, because later in this series io/ will call iohandler_get_aio_context. [Changed copyright "the QEMU team" to "other QEMU contributors" as suggested by Daniel Berrange and agreed by Paolo. --Stefan] Signed-off-by:Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Fam Zheng <famz@redhat.com> Message-id: 20170213135235.12274-2-pbonzini@redhat.com Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>
Showing
- Makefile.objs 0 additions, 4 deletionsMakefile.objs
- block/io.c 0 additions, 29 deletionsblock/io.c
- stubs/Makefile.objs 1 addition, 0 deletionsstubs/Makefile.objs
- stubs/linux-aio.c 32 additions, 0 deletionsstubs/linux-aio.c
- stubs/set-fd-handler.c 0 additions, 11 deletionsstubs/set-fd-handler.c
- tests/Makefile.include 6 additions, 5 deletionstests/Makefile.include
- trace-events 0 additions, 11 deletionstrace-events
- util/Makefile.objs 5 additions, 1 deletionutil/Makefile.objs
- util/aio-posix.c 1 addition, 1 deletionutil/aio-posix.c
- util/aio-win32.c 0 additions, 0 deletionsutil/aio-win32.c
- util/aiocb.c 55 additions, 0 deletionsutil/aiocb.c
- util/async.c 2 additions, 1 deletionutil/async.c
- util/iohandler.c 0 additions, 0 deletionsutil/iohandler.c
- util/main-loop.c 0 additions, 0 deletionsutil/main-loop.c
- util/qemu-timer.c 0 additions, 0 deletionsutil/qemu-timer.c
- util/thread-pool.c 1 addition, 1 deletionutil/thread-pool.c
- util/trace-events 11 additions, 0 deletionsutil/trace-events
Loading
Please register or sign in to comment