qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 60/67] iotests/254: Honor $IMGOPTS


From: Max Reitz
Subject: [PATCH 60/67] iotests/254: Honor $IMGOPTS
Date: Tue, 1 Oct 2019 21:47:08 +0200

Signed-off-by: Max Reitz <address@hidden>
---
 tests/qemu-iotests/254 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/qemu-iotests/254 b/tests/qemu-iotests/254
index 0404faf853..b44771fbc6 100755
--- a/tests/qemu-iotests/254
+++ b/tests/qemu-iotests/254
@@ -19,16 +19,16 @@
 #
 
 import iotests
-from iotests import qemu_img_create, file_path, log
+from iotests import create_test_image, image_path, log
 
 iotests.script_initialize(supported_fmts=['qcow2'],
                           # compat=1.1 is needed for dirty bitmaps
                           unsupported_imgopts=['compat=0.10'])
 
-disk, top = file_path('disk', 'top')
+disk, top = image_path('disk', 'top')
 size = 1024 * 1024
 
-qemu_img_create('-f', iotests.imgfmt, disk, str(size))
+create_test_image(disk, size)
 
 vm = iotests.VM().add_drive(disk, opts='node-name=base')
 vm.launch()
-- 
2.21.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]