summary refs log tree commit diff stats
path: root/python/qemu/aqmp/__init__.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-09-15 12:29:45 -0400
committerJohn Snow <jsnow@redhat.com>2021-09-27 12:10:29 -0400
commitc67d696b8592a85ba32dfdc1fc7449fa9b327e29 (patch)
tree6afb73b3f3439e2750a79db8c30e3f89233324e1 /python/qemu/aqmp/__init__.py
parent29a8ea9ba2e5b514e969d9f7660755eb98d9922b (diff)
downloadfocaccia-qemu-c67d696b8592a85ba32dfdc1fc7449fa9b327e29.tar.gz
focaccia-qemu-c67d696b8592a85ba32dfdc1fc7449fa9b327e29.zip
python/aqmp: add QMP protocol support
The star of our show!

Add most of the QMP protocol, sans support for actually executing
commands. No problem, that happens in the next several commits.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20210915162955.333025-18-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/qemu/aqmp/__init__.py')
-rw-r--r--python/qemu/aqmp/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/qemu/aqmp/__init__.py b/python/qemu/aqmp/__init__.py
index 829166a2e2..d975c752ea 100644
--- a/python/qemu/aqmp/__init__.py
+++ b/python/qemu/aqmp/__init__.py
@@ -25,11 +25,13 @@ from .error import AQMPError
 from .events import EventListener
 from .message import Message
 from .protocol import ConnectError, Runstate, StateError
+from .qmp_client import QMPClient
 
 
 # The order of these fields impact the Sphinx documentation order.
 __all__ = (
     # Classes, most to least important
+    'QMPClient',
     'Message',
     'EventListener',
     'Runstate',