Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-image-locking.c79 g_autofree char *img_path = NULL; in test_image_locking_basic() local
82 int fd = g_file_open_tmp("qemu-tst-img-lock.XXXXXX", &img_path, NULL); in test_image_locking_basic()
87 blk1 = open_image(img_path, perm, shared_perm, &error_abort); in test_image_locking_basic()
93 blk2 = open_image(img_path, perm | BLK_PERM_RESIZE, shared_perm, NULL); in test_image_locking_basic()
98 blk3 = open_image(img_path, perm, BLK_PERM_WRITE_UNCHANGED, NULL); in test_image_locking_basic()
114 unlink(img_path); in test_image_locking_basic()
120 g_autofree char *img_path = NULL; in test_set_perm_abort() local
123 int fd = g_file_open_tmp("qemu-tst-img-lock.XXXXXX", &img_path, NULL); in test_set_perm_abort()
128 blk1 = open_image(img_path, perm, shared_perm, &error_abort); in test_set_perm_abort()
131 blk2 = open_image(img_path, perm, shared_perm, &error_abort); in test_set_perm_abort()
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Diothreads-commit-active28 with iotests.FilePath('disk0.img') as img_path, \
35 iotests.qemu_img_create('-f', iotests.imgfmt, img_path, img_size)
36 iotests.qemu_img_create('-f', iotests.imgfmt, '-b', img_path,
41 iotests.qemu_io_log('-c', 'write 0 64k', img_path)
H A Diothreads-create28 with iotests.FilePath('disk.img') as img_path, \
31 iotests.qemu_img_create('-f', 'raw', img_path, '0')
45 'filename': img_path,
/openbmc/qemu/tests/qemu-iotests/
H A D23430 with iotests.FilePath('img') as img_path, \
38 iotests.qemu_img_create('-f', iotests.imgfmt, img_path, '64M')
44 (vm_a.add_blockdev('file,filename=%s,node-name=drive0-file' % (img_path))
53 (vm_b.add_blockdev('file,filename=%s,node-name=drive0-file' % (img_path))
H A D26231 with iotests.FilePath('img') as img_path, \
39 vm.add_blockdev('file,filename=%s,node-name=drive0-file' % (img_path))
55 iotests.qemu_img_create('-f', iotests.imgfmt, img_path, '64M')
H A D23645 with iotests.FilePath('img') as img_path, \
49 iotests.qemu_img_create('-f', iotests.imgfmt, img_path, str(size))
50 vm.add_drive(img_path)
H A D24638 with iotests.FilePath('img') as img_path, \
42 iotests.qemu_img_create('-f', iotests.imgfmt, img_path, str(size))
43 vm.add_drive(img_path)
H A D257283 (img_path, bsync1, bsync2, fbackup0, fbackup1, fbackup2), \
294 drive0 = Drive(img_path, vm=vm)
439 compare_images(img_path, fbackup2)
446 with iotests.FilePath('img', 'bsync1') as (img_path, backup_path), \
451 drive0 = Drive(img_path, vm=vm)
/openbmc/qemu/tests/avocado/
H A Dmachine_aarch64_sbsaref.py186 img_path = self.fetch_asset(img_url, algorithm="sha256", asset_hash=img_hash)
/openbmc/openbmc-test-automation/extended/code_update/
H A Dcode_update_utils.robot39 @{img_path}= Create List /tmp/flashimg
40 ${data}= Create Dictionary data=@{img_path}
/openbmc/qemu/tests/qtest/
H A Dvhost-user-blk-test.c900 gchar *img_path; in start_vhost_user_blk() local
917 img_path = drive_create(); in start_vhost_user_blk()
922 i, img_path, i, fd, i, num_queues); in start_vhost_user_blk()