Lines Matching refs:imgs

191     imgs = []  variable in TestParallelOps
195 self.imgs = []
201 self.imgs.append(os.path.join(iotests.test_dir, 'img-%d.img' % i))
204 iotests.create_image(self.imgs[0], self.image_len)
207 '-o', 'backing_file=%s' % self.imgs[i-1],
208 '-F', 'raw' if i == 1 else iotests.imgfmt, self.imgs[i])
218 self.imgs[odd_img_indexes[i]])
222 self.vm.add_drive(self.imgs[-1], ','.join(opts))
227 for img in self.imgs:
239 qemu_io('-f', iotests.imgfmt, '-rU', '-c', 'map', self.imgs[i]).stdout,
240 qemu_io('-f', iotests.imgfmt, '-rU', '-c', 'map', self.imgs[i-1]).stdout,
280 qemu_io('-f', iotests.imgfmt, '-c', 'map', self.imgs[i]).stdout,
281 qemu_io('-f', iotests.imgfmt, '-c', 'map', self.imgs[i-1]).stdout,
291 job_id='stream-node4', base=self.imgs[1],
294 … result = self.vm.qmp('block-stream', device='node5', job_id='stream-node5', base=self.imgs[2])
298 … result = self.vm.qmp('block-stream', device='node3', job_id='stream-node3', base=self.imgs[2])
307 … result = self.vm.qmp('block-commit', device='drive0', base=self.imgs[4], job_id='commit-node4')
311 …result = self.vm.qmp('block-commit', device='drive0', base=self.imgs[1], top=self.imgs[3], job_id=…
316 …result = self.vm.qmp('block-commit', device='drive0', base=self.imgs[0], top=self.imgs[1], job_id=…
332 …self.vm.cmd('block-commit', device='drive0', top=self.imgs[5], base=self.imgs[3], job_id='commit-n…
338 … result = self.vm.qmp('block-stream', device='node6', base=self.imgs[2], job_id='stream-node6')
342 … result = self.vm.qmp('block-stream', device='node4', base=self.imgs[2], job_id='stream-node4')
346 … result = self.vm.qmp('block-stream', device='node6', base=self.imgs[4], job_id='stream-node6-v2')
351 … result = self.vm.qmp('block-stream', device='drive0', base=self.imgs[5], job_id='stream-drive0')
366 …self.vm.cmd('block-commit', device='drive0', base=self.imgs[3], job_id='commit-drive0', speed=1024…
368 … result = self.vm.qmp('block-stream', device='node5', base=self.imgs[3], job_id='stream-node6')
391 top=self.imgs[2], base=self.imgs[0],
429 self.assertEqual(node4['image']['backing-image']['filename'], self.imgs[0])
442 self.vm.cmd('block-commit', device='drive0', base=self.imgs[3])
472 self.vm.cmd('block-commit', device='drive0', base=self.imgs[5], speed=1024*1024)
500 qemu_io('-f', iotests.imgfmt, '-rU', '-c', 'map', self.imgs[4]).stdout,
501 qemu_io('-f', iotests.imgfmt, '-rU', '-c', 'map', self.imgs[3]).stdout,
520 …result = self.vm.qmp('block-stream', device='node4', base=self.imgs[2], base_node='node2', job_id=…
533 qemu_io('-f', iotests.imgfmt, '-c', 'map', self.imgs[4]).stdout,
534 qemu_io('-f', iotests.imgfmt, '-c', 'map', self.imgs[3]).stdout,