diff options
| author | Anthony Liguori | 2013-05-15 21:57:30 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2013-05-15 21:57:30 +0200 |
| commit | 6b41659f4eaf1daefd232a7eea6d96885eb52ee7 (patch) | |
| tree | f512a601bcdb3e2492aac9466e25c94635d2b9c4 /QMP/qmp-shell | |
| parent | qemu-common: Resolve vector build breakes for AltiVec (diff) | |
| parent | qapi: fix leak in unit tests (diff) | |
| download | qemu-6b41659f4eaf1daefd232a7eea6d96885eb52ee7.tar.gz qemu-6b41659f4eaf1daefd232a7eea6d96885eb52ee7.tar.xz qemu-6b41659f4eaf1daefd232a7eea6d96885eb52ee7.zip | |
Merge remote-tracking branch 'luiz/queue/qmp' into staging
# By Michael Roth (1) and Zhangleiqiang (1)
# Via Luiz Capitulino
* luiz/queue/qmp:
qapi: fix leak in unit tests
qmp: fix handling of cmd with Equals in qmp-shell
Message-id: 1368625179-27962-1-git-send-email-lcapitulino@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'QMP/qmp-shell')
| -rwxr-xr-x | QMP/qmp-shell | 2 |
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': |
