/openbmc/qemu/tests/unit/ |
H A D | test-image-locking.c | 79 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 D | iothreads-commit-active | 28 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 D | iothreads-create | 28 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 D | 234 | 30 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 D | 262 | 31 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 D | 236 | 45 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 D | 246 | 38 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 D | 257 | 283 (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 D | machine_aarch64_sbsaref.py | 186 img_path = self.fetch_asset(img_url, algorithm="sha256", asset_hash=img_hash)
|
/openbmc/openbmc-test-automation/extended/code_update/ |
H A D | code_update_utils.robot | 39 @{img_path}= Create List /tmp/flashimg 40 ${data}= Create Dictionary data=@{img_path}
|
/openbmc/qemu/tests/qtest/ |
H A D | vhost-user-blk-test.c | 900 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()
|