summaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
authorJohn Snow2021-09-15 18:29:34 +0200
committerJohn Snow2021-09-27 18:10:29 +0200
commitc58b42e095aed868b5d08b9deab61436ab45b7cf (patch)
tree4e3869a534eace6c02314d43f70e53fb62edc047 /python/tests
parentpython/aqmp: add generic async message-based protocol support (diff)
downloadqemu-c58b42e095aed868b5d08b9deab61436ab45b7cf.tar.gz
qemu-c58b42e095aed868b5d08b9deab61436ab45b7cf.tar.xz
qemu-c58b42e095aed868b5d08b9deab61436ab45b7cf.zip
python/aqmp: add runstate state machine to AsyncProtocol
This serves a few purposes: 1. Protect interfaces when it's not safe to call them (via @require) 2. Add an interface by which an async client can determine if the state has changed, for the purposes of connection management. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20210915162955.333025-7-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/tests')
0 files changed, 0 insertions, 0 deletions