diff options
author | 2024-01-19 08:57:47 -0500 | |
---|---|---|
committer | 2024-01-26 11:16:58 +0100 | |
commit | ea0736d7f84ead109a6b701427991828f97724c3 (patch) | |
tree | b21dc4c0a21dd64307c83b194271ef3d50bbf473 /scripts/qapi/source.py | |
parent | virtio-blk: restart s->rq reqs in vq AioContexts (diff) | |
download | qemu-ea0736d7f84ead109a6b701427991828f97724c3.tar.xz qemu-ea0736d7f84ead109a6b701427991828f97724c3.zip |
virtio-blk: tolerate failure to set BlockBackend AioContext
We no longer rely on setting the AioContext since the block layer
IO_CODE APIs can be called from any thread. Now it's just a hint to help
block jobs and other operations co-locate themselves in a thread with
the guest I/O requests. Keep going if setting the AioContext fails.
Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20240119135748.270944-6-stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions