Skip to content
Snippets Groups Projects
Commit f627aab1 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 9958c351
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment