diff options
author | Max Reitz <mreitz@redhat.com> | 2014-06-20 21:57:33 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-08-29 10:48:45 +0100 |
commit | 33384421b3abe74555baeaf788b17204cd8c6080 (patch) | |
tree | 15a02040c856cabb6d1916d4d2d4bff6f0916a74 /coroutine-sigaltstack.c | |
parent | 958c717df97ea9ca47a2253b8371130fe5f22980 (diff) | |
download | qemu-33384421b3abe74555baeaf788b17204cd8c6080.zip |
block: Add AIO context notifiers
If a long-running operation on a BDS wants to always remain in the same
AIO context, it somehow needs to keep track of the BDS changing its
context. This adds a function for registering callbacks on a BDS which
are called whenever the BDS is attached or detached from an AIO context.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'coroutine-sigaltstack.c')
0 files changed, 0 insertions, 0 deletions