summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xQMP/qmp-shell2
1 files changed, 2 insertions, 0 deletions
diff --git a/QMP/qmp-shell b/QMP/qmp-shell
index d126e63ad1..73cb3b6cef 100755
--- a/QMP/qmp-shell
+++ b/QMP/qmp-shell
@@ -99,6 +99,8 @@ class QMPShell(qmp.QEMUMonitorProtocol):
         for arg in cmdargs[1:]:
             opt = arg.split('=')
             try:
+                if(len(opt) > 2):
+                    opt[1] = '='.join(opt[1:])
                 value = int(opt[1])
             except ValueError:
                 if opt[1] == 'true':