summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/055
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/055')
-rwxr-xr-xtests/qemu-iotests/0553
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qemu-iotests/055 b/tests/qemu-iotests/055
index 82b9f5f47d..4175fff5e4 100755
--- a/tests/qemu-iotests/055
+++ b/tests/qemu-iotests/055
@@ -469,7 +469,8 @@ class TestDriveCompression(iotests.QMPTestCase):
qemu_img('create', '-f', fmt, blockdev_target_img,
str(TestDriveCompression.image_len), *args)
if attach_target:
- self.vm.add_drive(blockdev_target_img, format=fmt, interface="none")
+ self.vm.add_drive(blockdev_target_img,
+ img_format=fmt, interface="none")
self.vm.launch()