diff options
author | John Snow | 2021-09-15 18:29:41 +0200 |
---|---|---|
committer | John Snow | 2021-09-27 18:10:29 +0200 |
commit | 08f98a22313f20a3851c9ae67dc0e8f2b931e3b3 (patch) | |
tree | ef575068db6714cdf4a3c4d04b1218d0df5557ad /python/qemu/machine/console_socket.py | |
parent | python/aqmp: add AsyncProtocol._readline() method (diff) | |
download | qemu-08f98a22313f20a3851c9ae67dc0e8f2b931e3b3.tar.gz qemu-08f98a22313f20a3851c9ae67dc0e8f2b931e3b3.tar.xz qemu-08f98a22313f20a3851c9ae67dc0e8f2b931e3b3.zip |
python/aqmp: add QMP Message format
The Message class is here primarily to serve as a solid type to use for
mypy static typing for unambiguous annotation and documentation.
We can also stuff JSON serialization and deserialization into this class
itself so it can be re-used even outside this infrastructure.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20210915162955.333025-14-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/qemu/machine/console_socket.py')
0 files changed, 0 insertions, 0 deletions