Home
last modified time | relevance | path

Searched refs:main_ctx (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-block-iothread.c616 AioContext *main_ctx; in test_propagate_basic() local
650 main_ctx = qemu_get_aio_context(); in test_propagate_basic()
651 blk_set_aio_context(blk, main_ctx, &error_abort); in test_propagate_basic()
652 g_assert(blk_get_aio_context(blk) == main_ctx); in test_propagate_basic()
653 g_assert(bdrv_get_aio_context(bs_a) == main_ctx); in test_propagate_basic()
654 g_assert(bdrv_get_aio_context(bs_verify) == main_ctx); in test_propagate_basic()
655 g_assert(bdrv_get_aio_context(bs_b) == main_ctx); in test_propagate_basic()
680 AioContext *main_ctx; in test_propagate_diamond() local
726 main_ctx = qemu_get_aio_context(); in test_propagate_diamond()
727 blk_set_aio_context(blk, main_ctx, &error_abort); in test_propagate_diamond()
[all …]