qemu-e2k/scripts/qmp
Eduardo Habkost 7e2b34f26e qmp.py: Encode json data before sending
On Python 3, json.dumps() return a str object, which can't be
sent directly through a socket and must be encoded into a bytes
object.  Use .encode('utf-8'), which will work on both Python 2
and Python 3.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20180312185503.5746-3-ehabkost@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2018-03-12 19:10:16 -03:00
..
__init__.py
qemu-ga-client Use HTTPS for qemu.org and other domains 2017-11-21 13:34:13 +00:00
qmp
qmp-shell qmp.py: Use object-based class for QEMUMonitorProtocol 2017-09-15 20:12:00 -03:00
qmp.py qmp.py: Encode json data before sending 2018-03-12 19:10:16 -03:00
qom-fuse
qom-get
qom-list
qom-set scripts/qmp/qom-set: fix the value argument passed to srv.command() 2017-05-23 13:28:17 +02:00
qom-tree