Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qemu-iotests/
H A D15149 blk_target = {'node-name': 'target-node',
56 self.vm.add_blockdev(self.vm.qmp_to_opts(blk_target))
/openbmc/qemu/tests/unit/
H A Dtest-bdrv-drain.c720 BlockBackend *blk_src, *blk_target; in test_blockjob_common_drain_node() local
763 blk_target = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_blockjob_common_drain_node()
764 blk_insert_bs(blk_target, target, &error_abort); in test_blockjob_common_drain_node()
765 blk_set_allow_aio_context_change(blk_target, true); in test_blockjob_common_drain_node()
879 assert(blk_get_aio_context(blk_target) == qemu_get_aio_context()); in test_blockjob_common_drain_node()
883 blk_unref(blk_target); in test_blockjob_common_drain_node()