summaryrefslogtreecommitdiffstats
path: root/QMP
diff options
context:
space:
mode:
Diffstat (limited to 'QMP')
-rwxr-xr-xQMP/qmp-shell2
1 files changed, 2 insertions, 0 deletions
diff --git a/QMP/qmp-shell b/QMP/qmp-shell
index d126e63..73cb3b6 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':
OpenPOWER on IntegriCloud