/openbmc/qemu/tests/qemu-iotests/ |
H A D | 296 | 27 test_img = os.path.join(iotests.test_dir, 'test.img') variable 128 'filename': test_img, 182 self.createImg(test_img, self.secrets[0]); 185 self.openImageQmp(self.vm1, "testdev", test_img, self.secrets[0]) 190 self.openImageQmp(self.vm2, "testdev", test_img, self.secrets[0]) 207 self.addKey(test_img, self.secrets[0], self.secrets[2]) 211 os.remove(test_img) 218 self.createImg(test_img, self.secrets[0]); 248 os.remove(test_img) 253 self.createImg(test_img, self.secrets[0]); [all …]
|
H A D | 163 | 25 test_img = os.path.join(iotests.test_dir, 'test.img') variable 93 test_img, self.image_len) 100 os.remove(test_img) 104 self.assertEqual(image_size(test_img), image_size(check_img), 106 self.image_check[iotests.imgfmt](self, test_img) 110 qemu_img('check', test_img) 116 qemu_io('-c', f"read -P 0x00 0 {self.shrink_size}", test_img) 124 test_img) 129 qemu_img("compare", test_img, check_img) 139 test_img) [all …]
|
H A D | 295 | 27 test_img = os.path.join(iotests.test_dir, 'test.img') variable 113 'filename': test_img, 200 self.createImg(test_img, self.secrets[0]); 201 self.openImageQmp("testdev", test_img, self.secrets[0]) 214 self.openImageQmp("testdev", test_img, self.secrets[1]) 218 os.remove(test_img) 225 self.createImg(test_img, self.secrets[0]); 226 self.openImageQmp("testdev", test_img, self.secrets[0]) 242 os.remove(test_img) 246 self.createImg(test_img, self.secrets[0]); [all …]
|
H A D | 132 | 27 test_img = os.path.join(iotests.test_dir, 'test.img') variable 35 qemu_img('create', '-f', iotests.imgfmt, test_img, str(TestSingleDrive.image_len)) 36 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x5d 0 2M', test_img) 38 self.vm = iotests.VM().add_drive(test_img, 'discard=unmap') 43 os.remove(test_img) 55 self.assertTrue(iotests.compare_images(test_img, target_img),
|
H A D | 041 | 58 os.remove(test_img) 314 os.remove(test_img) 386 os.remove(test_img) 456 test_img) 465 os.remove(test_img) 628 os.remove(test_img) 724 os.remove(test_img) 792 os.remove(test_img) 867 test_img) 875 os.remove(test_img) [all …]
|
H A D | 152 | 26 test_img = os.path.join(iotests.test_dir, 'test.img') variable 31 qemu_img('create', '-f', iotests.imgfmt, test_img, '512') 32 self.vm = iotests.VM().add_drive(test_img) 37 os.remove(test_img) 48 self.assertEqual(iotests.image_size(test_img), iotests.image_size(target_img), 58 self.assertEqual(iotests.image_size(test_img), iotests.image_size(target_img),
|
H A D | 304 | 29 test_img = file_path('test.qcow2') variable 36 qemu_img_create('-f', iotests.imgfmt, test_img, str(image_len)) 39 vm = iotests.VM().add_drive(test_img) 61 qemu_img_log('compare', test_img, target_img)
|
H A D | 044 | 32 test_img = os.path.join(iotests.test_dir, 'test.img') variable 104 qemu_img('create', '-f', iotests.imgfmt, '-o', 'cluster_size=512', test_img, '16G') 105 self.preallocate(test_img) 110 os.remove(test_img) 114 qemu_io('-c', 'write 3800M 1M', test_img) 115 qemu_img_log('check' , test_img)
|
H A D | 065 | 30 test_img = os.path.join(iotests.test_dir, 'test.img') variable 39 test_img, '128K') 42 os.remove(test_img) 52 data = qemu_img_info(test_img)['format-specific'] 57 data = qemu_img('info', '--output=human', test_img).stdout.split('\n') 74 self.vm = iotests.VM().add_drive(test_img, self.qemu_options)
|
H A D | 056 | 30 test_img = os.path.join(iotests.test_dir, 'test.img') variable 60 qemu_io('-c', 'write -P0x41 0 512', test_img) 61 qemu_io('-c', 'write -P0xd5 1M 32k', test_img) 62 qemu_io('-c', 'write -P0xdc 32M 124k', test_img) 63 qemu_io('-c', 'write -P0xdc 67043328 64k', test_img) 64 self.vm = iotests.VM().add_drive(test_img) 69 os.remove(test_img) 85 self.assertTrue(iotests.compare_images(test_img, target_img), 131 self.test_img = img_create('test') 135 self.vm.add_drive(self.test_img) [all …]
|
H A D | 055 | 29 test_img = os.path.join(iotests.test_dir, 'test.img') variable 36 qemu_img('create', '-f', iotests.imgfmt, test_img, str(image_len)) 37 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x11 0 64k', test_img) 40 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0xd5 1M 32k', test_img) 45 os.remove(test_img) 53 self.vm.add_drive('blkdebug::' + test_img, 'node-name=source') 106 self.assertTrue(iotests.compare_images(test_img, image), 201 self.vm = iotests.VM().add_drive('blkdebug::' + test_img) 283 self.vm = iotests.VM().add_drive(test_img) 348 self.assertTrue(iotests.compare_images(test_img, image), [all …]
|
H A D | 040 | 34 test_img = os.path.join(iotests.test_dir, 'test.img') variable 86 '-F', iotests.imgfmt, test_img) 98 os.remove(test_img) 308 '-F', iotests.imgfmt, self.test_img) 312 '-F', iotests.imgfmt, self.test_img) 320 os.remove(self.test_img) 379 '-F', iotests.imgfmt, test_img) 387 os.remove(test_img) 451 '-F', iotests.imgfmt, test_img) 463 os.remove(test_img) [all …]
|
H A D | 030 | 30 test_img = os.path.join(iotests.test_dir, 'test.img') variable 42 '-F', iotests.imgfmt, test_img) 52 os.remove(test_img) 654 test_img) 660 os.remove(test_img) 807 test_img) 813 os.remove(test_img) 873 '-F', 'raw', test_img) 880 os.remove(test_img) 905 '-F', 'raw', test_img) [all …]
|
H A D | 129 | 26 test_img = os.path.join(iotests.test_dir, 'test.img') variable in TestStopWithBlockJob 33 iotests.qemu_img('create', '-f', iotests.imgfmt, self.test_img, 36 self.test_img) 51 for img in (self.test_img, self.target_img, self.base_img,
|
H A D | 147 | 35 test_img = os.path.join(iotests.test_dir, 'test.img') variable 82 qemu_img('create', '-f', iotests.imgfmt, test_img, '64k') 88 os.remove(test_img) 95 status, msg = qemu_nbd_early_pipe('-f', imgfmt, test_img, *args) 129 qemu_img('create', '-f', iotests.imgfmt, test_img, '64k') 134 'file=%s,' % test_img + 143 os.remove(test_img)
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | migration-permissions | 27 test_img = os.path.join(iotests.test_dir, 'test.img') variable 33 qemu_img_create('-f', imgfmt, test_img, '1M') 65 os.remove(test_img) 76 qemu_io('-f', imgfmt, '-c', 'quit', test_img) 90 qemu_io('-f', imgfmt, '-c', 'quit', test_img)
|
H A D | block-status-cache | 29 test_img = os.path.join(iotests.test_dir, 'test.img') variable 38 qemu_img_create('-f', iotests.imgfmt, test_img, str(image_size)) 49 test_img) \ 57 os.remove(test_img)
|
H A D | reopen-file | 28 test_img = os.path.join(iotests.test_dir, 'test.img') variable 33 res = qemu_img_create('-f', imgfmt, test_img, str(image_size)) 46 'filename': test_img 58 os.remove(test_img)
|
H A D | export-incoming-iothread | 31 test_img = os.path.join(iotests.test_dir, 'test.img') variable 40 qemu_img_create('-f', iotests.imgfmt, test_img, str(image_size)) 55 os.remove(test_img)
|
/openbmc/qemu/docs/ |
H A D | image-fuzzer.txt | 74 runner.py -c '[["qemu-io", "$test_img", "-c", "write $off $len"]]' 78 - $test_img for a fuzzed img
|
/openbmc/qemu/docs/devel/ |
H A D | testing.rst | 845 tests/image-fuzzer/runner.py -c '[["qemu-img", "info", "$test_img"]]' /tmp/test qcow2
|