History | View | Annotate | Download (8.4 kB)
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...
qmp: fix handling of boolean values in qmp-shell
qmp-shell converts only integer arguments and the restis assumed to be strings which are faithfully sent asquoted strings by json. But QEMU refuses to accept qmpcommand with boolean argument whose value is escaped...
Add support for pretty-printing response in qmp-shell
Add a '-p' arg to the QMP/qmp-shell test program, which usesthe python pprint module to pretty-print the dictionaryreturned from a command
$ qmp-shell -p /tmp/qemu Welcome to the QMP low-level shell!...
QMP/qmp-shell: Introduce HMP mode
In which qmp-shell will exclusively use the HMP passthrough feature,this is useful for testing.
Example:
(QEMU) info network...
QMP: Revamp the qmp-shell script
This commit updates the qmp-shell script to use the new interfaceintroduced 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...
QMP: Teach basic capability negotiation to python example
As sending "qmp_capabilities" on session start became mandatory, bothpython examples were broken.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
QMP: Introduce qmp-shell
This is a very simple shell written in Python for demonstrationpurposes.
Unfortunately it's a bit awkward right now, as the user hasto specify the arguments names and the printed data can bea raw dictionary or list, like the following example:...