mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
9958c351ee
commit
f627aab1cc
11 changed files with 119 additions and 72 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "qemu-queue.h"
|
||||
#include "qemu-option.h"
|
||||
#include "qemu-config.h"
|
||||
#include "qemu-aio.h"
|
||||
#include "qobject.h"
|
||||
#include "qstring.h"
|
||||
#include "main-loop.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue