diff options
author | John Snow <jsnow@redhat.com> | 2021-09-22 20:49:24 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2021-10-12 12:22:10 -0400 |
commit | 6bfebc7306e42910cd33553d9ed385ef475d8196 (patch) | |
tree | 814bf3d05b53fc1601d5aff291b4310db6893961 /python/setup.py | |
parent | 16cce725ed87e3ed5901c93e61514840c989216a (diff) | |
download | qemu-6bfebc7306e42910cd33553d9ed385ef475d8196.zip qemu-6bfebc7306e42910cd33553d9ed385ef475d8196.tar.gz qemu-6bfebc7306e42910cd33553d9ed385ef475d8196.tar.bz2 |
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/setup.py')
0 files changed, 0 insertions, 0 deletions