From b3cda213a739e4e28ef7fe69a1a7e0f483e5c60c Mon Sep 17 00:00:00 2001 From: John Snow Date: Wed, 15 Sep 2021 12:29:43 -0400 Subject: python/aqmp: add QMP event support This class was designed as a "mix-in" primarily so that the feature could be given its own treatment in its own python module. It gets quite a bit too long otherwise. Signed-off-by: John Snow Message-id: 20210915162955.333025-16-jsnow@redhat.com Signed-off-by: John Snow --- python/qemu/aqmp/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/qemu/aqmp/__init__.py') diff --git a/python/qemu/aqmp/__init__.py b/python/qemu/aqmp/__init__.py index 96fff1e5f3..829166a2e2 100644 --- a/python/qemu/aqmp/__init__.py +++ b/python/qemu/aqmp/__init__.py @@ -22,6 +22,7 @@ managing QMP events. # the COPYING file in the top-level directory. from .error import AQMPError +from .events import EventListener from .message import Message from .protocol import ConnectError, Runstate, StateError @@ -30,6 +31,7 @@ from .protocol import ConnectError, Runstate, StateError __all__ = ( # Classes, most to least important 'Message', + 'EventListener', 'Runstate', # Exceptions, most generic to most explicit -- cgit v1.2.3-55-g7522