summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2019-12-16 17:56:07 +0100
committerKevin Wolf <kwolf@redhat.com>2019-12-19 14:32:43 +0100
commita0de1e5330a033720158db52b1e258f5b8fa1d2e (patch)
tree8fe36a04e80469f39bc17aa72fde21cfd6499c53
parente9dbd1cae86f7cb6f8e470e1485aeb0c6e23ae64 (diff)
downloadfocaccia-qemu-a0de1e5330a033720158db52b1e258f5b8fa1d2e.tar.gz
focaccia-qemu-a0de1e5330a033720158db52b1e258f5b8fa1d2e.zip
iotests: 255: Drop blockdev_create()
blockdev_create() is completely unused in this test case, so we can just
drop it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to '')
-rwxr-xr-xtests/qemu-iotests/25510
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/qemu-iotests/255 b/tests/qemu-iotests/255
index 3632d507d0..0ba03d9e61 100755
--- a/tests/qemu-iotests/255
+++ b/tests/qemu-iotests/255
@@ -25,16 +25,6 @@ from iotests import imgfmt
 
 iotests.verify_image_format(supported_fmts=['qcow2'])
 
-def blockdev_create(vm, options):
-    result = vm.qmp_log('blockdev-create',
-                        filters=[iotests.filter_qmp_testfiles],
-                        job_id='job0', options=options)
-
-    if 'return' in result:
-        assert result['return'] == {}
-        vm.run_job('job0')
-    iotests.log("")
-
 iotests.log('Finishing a commit job with background reads')
 iotests.log('============================================')
 iotests.log('')