diff options
| author | John Snow <jsnow@redhat.com> | 2021-09-15 12:29:39 -0400 |
|---|---|---|
| committer | John Snow <jsnow@redhat.com> | 2021-09-27 12:10:29 -0400 |
| commit | 12c7a57f5be577b6bb28c8526122cc51ad40a12b (patch) | |
| tree | 293c1f8782d942cd252213e40281b1b1425b1bda /python/qemu/aqmp/models.py | |
| parent | 2686ac131634365899570bd8b8df99ae50354e79 (diff) | |
| download | focaccia-qemu-12c7a57f5be577b6bb28c8526122cc51ad40a12b.tar.gz focaccia-qemu-12c7a57f5be577b6bb28c8526122cc51ad40a12b.zip | |
python/aqmp: add _cb_inbound and _cb_outbound logging hooks
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 <jsnow@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20210915162955.333025-12-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/qemu/aqmp/models.py')
0 files changed, 0 insertions, 0 deletions