Signed-off-by: Jiří Župka <jzu...@redhat.com> --- client/virt/kvm_monitor.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/client/virt/kvm_monitor.py b/client/virt/kvm_monitor.py index a49fd18..1320ba5 100644 --- a/client/virt/kvm_monitor.py +++ b/client/virt/kvm_monitor.py @@ -6,6 +6,7 @@ Interfaces to the QEMU monitor. import socket, time, threading, logging, select, re import virt_utils, virt_passfd_setup +from autotest.client.shared import utils try: import json except ImportError: @@ -966,6 +967,7 @@ class QMPMonitor(Monitor): @param value: Speed in bytes/sec @return: The response to the command """ + value = utils.convert_data_size(value, "M") args = {"value": value} return self.cmd("migrate_set_speed", args) -- 1.7.7.6 _______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest