qemu-iotests: Allow caller to disable underscore convertion for qmp
commitdf89d112279779609d50db93b024ed71f0402854
authorFam Zheng <famz@redhat.com>
Fri, 30 Jan 2015 02:49:45 +0000 (30 10:49 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Feb 2015 15:07:18 +0000 (16 15:07 +0000)
treeaba55eb683aae32b999b48c742ab971120cd08a1
parented338bb07504091dbf36d9cc741e8363f1962a74
qemu-iotests: Allow caller to disable underscore convertion for qmp

QMP command "block_set_io_throttle" expects underscores in parameters
instead of dashes: {iops,bps}_{rd,wr,max}.

Add optional argument conv_keys (defaults to True, backward compatible),
it will be used in IO throttling test case.

Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1422586186-9925-5-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/qemu-iotests/iotests.py