summaryrefslogtreecommitdiffstats
path: root/python/qemu/aqmp/models.py
diff options
context:
space:
mode:
authorJohn Snow2021-09-23 02:49:23 +0200
committerJohn Snow2021-10-12 18:22:10 +0200
commit16cce725ed87e3ed5901c93e61514840c989216a (patch)
treede1bd17e5a00b27115166697e27e547fcb4771b0 /python/qemu/aqmp/models.py
parentpython/aqmp: add greeting property to QMPClient (diff)
downloadqemu-16cce725ed87e3ed5901c93e61514840c989216a.tar.gz
qemu-16cce725ed87e3ed5901c93e61514840c989216a.tar.xz
qemu-16cce725ed87e3ed5901c93e61514840c989216a.zip
python/aqmp: add .empty() method to EventListener
Synchronous clients may want to know if they're about to block waiting for an event or not. A method such as this is necessary to implement a compatible interface for the old QEMUMonitorProtocol using the new async internals. 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-3-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