]> xenbits.xensource.com Git - qemu-xen.git/commit
tests: cover aio_co_enter from a worker thread without BQL taken
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 14 Jun 2021 11:02:14 +0000 (13:02 +0200)
committerEric Blake <eblake@redhat.com>
Fri, 18 Jun 2021 15:59:52 +0000 (10:59 -0500)
commit55159c34b8788ae00984341356d3ea4774912665
tree5e875c0f1b62cb5b02d5ff242c8aa86a41740a12
parent5f50be9b5810293141bb53cfd0cb46e765367d56
tests: cover aio_co_enter from a worker thread without BQL taken

Add a testcase for the test fixed by commit 'async: the main AioContext
is only "current" if under the BQL.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210614110214.726722-1-pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
tests/unit/test-aio.c