Files
qemu/scripts
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
..
2017-03-03 16:40:02 +01:00
2018-03-12 11:18:26 +01:00
2017-11-21 13:34:13 +00:00
2017-07-20 09:56:41 +02:00
2015-10-12 18:44:54 +02:00
2017-09-15 20:12:00 -03:00