|
@@ -33,8 +33,8 @@ with iotests.FilePath('source.img') as source_img_path, \
|
|
iotests.VM('dest') as dest_vm:
|
|
iotests.VM('dest') as dest_vm:
|
|
|
|
|
|
img_size = '1G'
|
|
img_size = '1G'
|
|
- iotests.qemu_img_pipe('create', '-f', iotests.imgfmt, source_img_path, img_size)
|
|
|
|
- iotests.qemu_img_pipe('create', '-f', iotests.imgfmt, dest_img_path, img_size)
|
|
|
|
|
|
+ iotests.qemu_img_create('-f', iotests.imgfmt, source_img_path, img_size)
|
|
|
|
+ iotests.qemu_img_create('-f', iotests.imgfmt, dest_img_path, img_size)
|
|
|
|
|
|
iotests.log('Launching VMs...')
|
|
iotests.log('Launching VMs...')
|
|
(source_vm.add_drive(source_img_path)
|
|
(source_vm.add_drive(source_img_path)
|