diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2018-02-16 16:50:11 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-03-02 18:39:07 +0100 |
commit | d2b63ba8dd20c1091b3f1033e6a95ef95b18149d (patch) | |
tree | 8de7843b028a0c1072ee71e1703cd817936ac643 /block/io.c | |
parent | be820971ff6f88c156233eec8a50cdf8c70c0938 (diff) | |
download | qemu-d2b63ba8dd20c1091b3f1033e6a95ef95b18149d.zip qemu-d2b63ba8dd20c1091b3f1033e6a95ef95b18149d.tar.gz qemu-d2b63ba8dd20c1091b3f1033e6a95ef95b18149d.tar.bz2 |
aio: rename aio_context_in_iothread() to in_aio_context_home_thread()
The name aio_context_in_iothread() is misleading because it also returns
true when called on the main AioContext from the main loop thread, which
is not an IOThread.
This patch renames it to in_aio_context_home_thread() and expands the
doc comment to make the semantics clearer.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/io.c')
0 files changed, 0 insertions, 0 deletions