Statistics
| Branch: | Revision:

root / QMP / qmp-shell @ a8aec295

History | View | Annotate | Download (8.4 kB)

# Date Author Comment
74bc9066 05/15/2013 03:58 pm Zhangleiqiang

qmp: fix handling of cmd with Equals in qmp-shell

qmp: fix handling of cmd with equal mark in qmp-shell
qmp-shell splits the argument and value of input command
by equal mark("="). But there are commands whose values
include equal mark themselves, and the json built by...
e5ecec7b 03/25/2013 10:21 pm Igor Mammedov

qmp: fix handling of boolean values in qmp-shell

qmp-shell converts only integer arguments and the rest
is assumed to be strings which are faithfully sent as
quoted strings by json. But QEMU refuses to accept qmp
command with boolean argument whose value is escaped...

fa779b65 09/05/2012 09:48 pm Daniel P. Berrange

Add support for pretty-printing response in qmp-shell

Add a '-p' arg to the QMP/qmp-shell test program, which uses
the python pprint module to pretty-print the dictionary
returned from a command

$ qmp-shell -p /tmp/qemu
Welcome to the QMP low-level shell!...
11217a75 11/17/2010 01:52 pm Luiz Capitulino

QMP/qmp-shell: Introduce HMP mode

In which qmp-shell will exclusively use the HMP passthrough feature,
this is useful for testing.

Example:

  1. ./qmp-shell -H qmp-sock
    Welcome to the HMP shell!
    Connected to QEMU 0.13.50
(QEMU) info network...
9bed0d0d 11/17/2010 01:51 pm Luiz Capitulino

QMP: Revamp the qmp-shell script

This commit updates the qmp-shell script to use the new interface
introduced by the last commit.

Additionally, the following fixes/features are also introduced:

o TCP sockets support
o Update/add documentation
o Simple command-line completion...
8d7e8457 07/01/2010 08:27 pm Jan Kiszka

QMP: Teach basic capability negotiation to python example

As sending "qmp_capabilities" on session start became mandatory, both
python examples were broken.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Luiz Capitulino <>

cedebdac 12/03/2009 05:41 pm Luiz Capitulino

QMP: Introduce qmp-shell

This is a very simple shell written in Python for demonstration
purposes.

Unfortunately it's a bit awkward right now, as the user has
to specify the arguments names and the printed data can be
a raw dictionary or list, like the following example:...