On Wed, 15 Aug 2012 11:33:47 +0100
"Daniel P. Berrange" wrote:
> From: "Daniel P. Berrange"
>
> 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
On 15 August 2012 11:33, Daniel P. Berrange wrote:
> class QMPShell(qmp.QEMUMonitorProtocol):
> -def __init__(self, address):
> +def __init__(self, address, pp=None):
> qmp.QEMUMonitorProtocol.__init__(self, self.__get_address(address))
> self._greeting = None
>
From: "Daniel P. Berrange"
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!
Connected to QEMU 1.1.50
(QEMU) query-cpus
{ u'return'