Lines Matching refs:backing_img
28 backing_img = os.path.join(iotests.test_dir, 'backing.img') variable
36 iotests.create_image(backing_img, TestSingleDrive.image_len)
38 '-o', 'backing_file=%s' % backing_img,
43 qemu_io('-f', 'raw', '-c', 'write -P 0x1 0 512', backing_img)
54 os.remove(backing_img)
67 qemu_io('-f', 'raw', '-c', 'map', backing_img).stdout,
75 qemu_io('-f', 'raw', '-rU', '-c', 'map', backing_img).stdout,
87 qemu_io('-f', 'raw', '-c', 'map', backing_img).stdout,
116 qemu_io('-f', 'raw', '-c', 'map', backing_img).stdout,
142 self.vm.cmd('block-stream', device='drive0', base=backing_img)
549 backing_img = os.path.join(iotests.test_dir, 'backing-%d.img' % i)
551 self.backing.append(backing_img)
552 qemu_img('create', '-f', iotests.imgfmt, backing_img, '1M')
554 '-c', 'write -P 0x55 0 1024', backing_img)
556 '-o', 'backing_file=%s' % backing_img,
598 iotests.create_image(backing_img, self.backing_len)
600 '-o', 'backing_file=%s' % backing_img,
648 self.blkdebug_file = backing_img + ".blkdebug"
649 iotests.create_image(backing_img, TestErrors.image_len)
653 % (self.blkdebug_file, backing_img),
661 os.remove(backing_img)
801 self.blkdebug_file = backing_img + ".blkdebug"
802 iotests.create_image(backing_img, TestErrors.image_len)
806 % (self.blkdebug_file, backing_img),
814 os.remove(backing_img)
869 qemu_img('create', backing_img, str(TestStreamStop.image_len))
870 qemu_io('-f', 'raw', '-c', 'write -P 0x1 0 32M', backing_img)
872 '-o', 'backing_file=%s' % backing_img,
881 os.remove(backing_img)
901 qemu_img('create', backing_img, str(TestSetSpeed.image_len))
902 qemu_io('-f', 'raw', '-c', 'write -P 0x1 0 32M', backing_img)
904 '-o', 'backing_file=%s' % backing_img,
913 os.remove(backing_img)