aboutsummaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-06-20 21:57:33 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2014-08-29 10:48:45 +0100
commit33384421b3abe74555baeaf788b17204cd8c6080 (patch)
tree15a02040c856cabb6d1916d4d2d4bff6f0916a74 /nbd.c
parent958c717df97ea9ca47a2253b8371130fe5f22980 (diff)
downloadqemu-33384421b3abe74555baeaf788b17204cd8c6080.zip
qemu-33384421b3abe74555baeaf788b17204cd8c6080.tar.gz
qemu-33384421b3abe74555baeaf788b17204cd8c6080.tar.bz2
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 'nbd.c')
0 files changed, 0 insertions, 0 deletions