diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-29 23:45:23 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-30 09:30:53 +0100 |
| commit | f627aab1ccea119fd94ca9e9df120cea6aab0c67 (patch) | |
| tree | f1e4b3a2e763f40b665fdb9511e0da2f947f2fef /aio.c | |
| parent | 9958c351eee5b34051fd8061fe24f490ceca1334 (diff) | |
| download | focaccia-qemu-f627aab1ccea119fd94ca9e9df120cea6aab0c67.tar.gz focaccia-qemu-f627aab1ccea119fd94ca9e9df120cea6aab0c67.zip | |
aio: introduce AioContext, move bottom halves there
Start introducing AioContext, which will let us remove globals from aio.c/async.c, and introduce multiple I/O threads. The bottom half functions now take an additional AioContext argument. A bottom half is created with a specific AioContext that remains the same throughout the lifetime. qemu_bh_new is just a wrapper that uses a global context. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'aio.c')
| -rw-r--r-- | aio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/aio.c b/aio.c index 44214e1ffc..7e3fe708d2 100644 --- a/aio.c +++ b/aio.c @@ -18,8 +18,6 @@ #include "qemu-queue.h" #include "qemu_socket.h" -typedef struct AioHandler AioHandler; - /* The list of registered AIO handlers */ static QLIST_HEAD(, AioHandler) aio_handlers; |