diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2018-02-06 21:25:07 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2018-02-09 12:32:44 -0600 |
commit | 85a353a024dc8dcfbb3a3b8ec6061b1663d903d7 (patch) | |
tree | 9c6b3f0023b980dec3f650538289a67f95a26163 /tests/qemu-iotests/205 | |
parent | c7b02d7d032d6022060e4b393827c963c93ce63f (diff) | |
download | qemu-85a353a024dc8dcfbb3a3b8ec6061b1663d903d7.zip qemu-85a353a024dc8dcfbb3a3b8ec6061b1663d903d7.tar.gz qemu-85a353a024dc8dcfbb3a3b8ec6061b1663d903d7.tar.bz2 |
iotests: 205: support luks format
Support default luks options in VM.add_drive and in new library
function qemu_img_create. Use it in 205 iotests.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180206182507.21753-1-vsementsov@virtuozzo.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/205')
-rw-r--r-- | tests/qemu-iotests/205 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/205 b/tests/qemu-iotests/205 index 1038892..e7b2eae 100644 --- a/tests/qemu-iotests/205 +++ b/tests/qemu-iotests/205 @@ -22,7 +22,7 @@ import os import sys import iotests import time -from iotests import qemu_img, qemu_io, filter_qemu_io, QemuIoInteractive +from iotests import qemu_img_create, qemu_io, filter_qemu_io, QemuIoInteractive nbd_sock = 'nbd_sock' nbd_uri = 'nbd+unix:///exp?socket=' + nbd_sock @@ -31,7 +31,7 @@ disk = os.path.join(iotests.test_dir, 'disk') class TestNbdServerRemove(iotests.QMPTestCase): def setUp(self): - qemu_img('create', '-f', iotests.imgfmt, disk, '1M') + qemu_img_create('-f', iotests.imgfmt, disk, '1M') self.vm = iotests.VM().add_drive(disk) self.vm.launch() |