summary refs log tree commit diff stats
path: root/python/qemu/machine/machine.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-09-22 20:49:24 -0400
committerJohn Snow <jsnow@redhat.com>2021-10-12 12:22:10 -0400
commit6bfebc7306e42910cd33553d9ed385ef475d8196 (patch)
tree814bf3d05b53fc1601d5aff291b4310db6893961 /python/qemu/machine/machine.py
parent16cce725ed87e3ed5901c93e61514840c989216a (diff)
downloadfocaccia-qemu-6bfebc7306e42910cd33553d9ed385ef475d8196.tar.gz
focaccia-qemu-6bfebc7306e42910cd33553d9ed385ef475d8196.zip
python/aqmp: Return cleared events from EventListener.clear()
This serves two purposes:

(1) It is now possible to discern whether or not clear() removed any
event(s) from the queue with absolute certainty, and

(2) It is now very easy to get a List of all pending events in one
chunk, which is useful for the sync bridge.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20210923004938.3999963-4-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/qemu/machine/machine.py')
0 files changed, 0 insertions, 0 deletions