On Tue, Aug 03, 2021 at 02:29:27PM -0400, John Snow wrote: > Add hooks designed to log/filter incoming/outgoing messages. The primary > intent for these is to be able to support iotests which may want to log > messages with specific filters for reproducible output. > > Another use is for plugging into Urwid frameworks; all messages in/out > can be automatically added to a rendering list for the purposes of a > qmp-shell like tool. > > Signed-off-by: John Snow <js...@redhat.com> > --- > python/qemu/aqmp/protocol.py | 50 +++++++++++++++++++++++++++++++++--- > 1 file changed, 46 insertions(+), 4 deletions(-) >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org