Loading tests/test-bdrv-drain.c +3 −3 Original line number Diff line number Diff line Loading @@ -1509,16 +1509,16 @@ static void test_set_aio_context(void) &error_abort); bdrv_drained_begin(bs); bdrv_set_aio_context(bs, ctx_a); bdrv_try_set_aio_context(bs, ctx_a, &error_abort); aio_context_acquire(ctx_a); bdrv_drained_end(bs); bdrv_drained_begin(bs); bdrv_set_aio_context(bs, ctx_b); bdrv_try_set_aio_context(bs, ctx_b, &error_abort); aio_context_release(ctx_a); aio_context_acquire(ctx_b); bdrv_set_aio_context(bs, qemu_get_aio_context()); bdrv_try_set_aio_context(bs, qemu_get_aio_context(), &error_abort); aio_context_release(ctx_b); bdrv_drained_end(bs); Loading Loading
tests/test-bdrv-drain.c +3 −3 Original line number Diff line number Diff line Loading @@ -1509,16 +1509,16 @@ static void test_set_aio_context(void) &error_abort); bdrv_drained_begin(bs); bdrv_set_aio_context(bs, ctx_a); bdrv_try_set_aio_context(bs, ctx_a, &error_abort); aio_context_acquire(ctx_a); bdrv_drained_end(bs); bdrv_drained_begin(bs); bdrv_set_aio_context(bs, ctx_b); bdrv_try_set_aio_context(bs, ctx_b, &error_abort); aio_context_release(ctx_a); aio_context_acquire(ctx_b); bdrv_set_aio_context(bs, qemu_get_aio_context()); bdrv_try_set_aio_context(bs, qemu_get_aio_context(), &error_abort); aio_context_release(ctx_b); bdrv_drained_end(bs); Loading