Re: [PATCH] tests: cover aio_co_enter from a worker thread without BQL taken

2021-06-15 Thread Vladimir Sementsov-Ogievskiy
14.06.2021 14:02, Paolo Bonzini wrote: 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 Reviewed-by: Vladimir Sementsov-Ogievskiy -- Best regards, Vladimir

Re: [PATCH] tests: cover aio_co_enter from a worker thread without BQL taken

2021-06-14 Thread Eric Blake
On Mon, Jun 14, 2021 at 01:02:14PM +0200, Paolo Bonzini wrote: > Add a testcase for the test fixed by commit 'async: the main AioContext > is only "current" if under the BQL. I can add the commit id to that commit when staging through my NBD tree, if you'd like. > > Signed-off-by: Paolo Bonzini

[PATCH] tests: cover aio_co_enter from a worker thread without BQL taken

2021-06-14 Thread Paolo Bonzini
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 --- tests/unit/test-aio.c | 37 + 1 file changed, 37 insertions(+) diff --git a/tests/unit/test-aio.c b/tests/unit/test-ai