summary refs log tree commit diff stats
path: root/scripts/simplebench/bench-example.py
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-01-17 00:47:04 +0300
committerMax Reitz <mreitz@redhat.com>2021-01-26 14:36:37 +0100
commitb2fcb0c5754c2554b8406376e99a75e9e0a6b7bd (patch)
treec8daeaefe4fe1962fc0b92d0cbc8b87ab6c1201a /scripts/simplebench/bench-example.py
parent2096de521edfe8677308a7419bc61faa108f242a (diff)
downloadfocaccia-qemu-b2fcb0c5754c2554b8406376e99a75e9e0a6b7bd.tar.gz
focaccia-qemu-b2fcb0c5754c2554b8406376e99a75e9e0a6b7bd.zip
simplebench: bench_block_job: add cmd_options argument
Add argument to allow additional block-job options.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210116214705.822267-23-vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/simplebench/bench-example.py')
-rw-r--r--scripts/simplebench/bench-example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/simplebench/bench-example.py b/scripts/simplebench/bench-example.py
index d9c7f7bc17..4864435f39 100644
--- a/scripts/simplebench/bench-example.py
+++ b/scripts/simplebench/bench-example.py
@@ -25,7 +25,7 @@ from bench_block_job import bench_block_copy, drv_file, drv_nbd
 
 def bench_func(env, case):
     """ Handle one "cell" of benchmarking table. """
-    return bench_block_copy(env['qemu_binary'], env['cmd'],
+    return bench_block_copy(env['qemu_binary'], env['cmd'], {}
                             case['source'], case['target'])