Re: [Qemu-devel] [PATCH 02/11] blockdev: acquire AioContext in do_qmp_query_block_jobs_one()

2014-10-01 Thread Max Reitz
On 01.10.2014 19:01, Stefan Hajnoczi wrote: Make sure that query-block-jobs acquires the BlockDriverState AioContext so that the blockjob isn't running in another thread while we access its state. Signed-off-by: Stefan Hajnoczi --- blockdev.c | 9 +++-- 1 file changed, 7 insertions(+), 2

[Qemu-devel] [PATCH 02/11] blockdev: acquire AioContext in do_qmp_query_block_jobs_one()

2014-10-01 Thread Stefan Hajnoczi
Make sure that query-block-jobs acquires the BlockDriverState AioContext so that the blockjob isn't running in another thread while we access its state. Signed-off-by: Stefan Hajnoczi --- blockdev.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/blockdev.c b/blockde