From: Daniel P. Berrange berra...@redhat.com
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)
On 15 August 2012 11:33, Daniel P. Berrange berra...@redhat.com 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 =
On Wed, 15 Aug 2012 11:33:47 +0100
Daniel P. Berrange berra...@redhat.com wrote:
From: Daniel P. Berrange berra...@redhat.com
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