scripts: add a 'debug' parameter to QEMUMonitorProtocol
commit991e7c46504807bd89ba8debeccc5211e0b7f221
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 20 Jul 2016 13:23:09 +0000 (20 14:23 +0100)
committerAmit Shah <amit.shah@redhat.com>
Fri, 22 Jul 2016 07:53:17 +0000 (22 13:23 +0530)
tree3fb5014f431c27ca2f447f7e651b0f07aa039371
parent6f7a4a81ce6cc75a1b3b8f4dddaedf26dc04b705
scripts: add a 'debug' parameter to QEMUMonitorProtocol

Add a 'debug' parameter to the QEMUMonitorProtocol class
which will cause it to print out all JSON strings on
sys.stderr

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1469020993-29426-3-git-send-email-berrange@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
scripts/qmp/qmp.py