]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
iotests: 255: Drop blockdev_create()
authorKevin Wolf <kwolf@redhat.com>
Mon, 16 Dec 2019 16:56:07 +0000 (17:56 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 19 Dec 2019 13:32:43 +0000 (14:32 +0100)
blockdev_create() is completely unused in this test case, so we can just
drop it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/255

index 3632d507d0d5b3c08aa9ff60aaea1b6c82dbf223..0ba03d9e61ea0700639bcba5b1b00062a1d72fe9 100755 (executable)
@@ -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('')