diff options
author | John Snow <jsnow@redhat.com> | 2021-09-15 12:29:34 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2021-09-27 12:10:29 -0400 |
commit | c58b42e095aed868b5d08b9deab61436ab45b7cf (patch) | |
tree | 4e3869a534eace6c02314d43f70e53fb62edc047 /tests/perf | |
parent | 4ccaab0377dec88b5cf1a55064b4953f6ab59d9f (diff) | |
download | qemu-c58b42e095aed868b5d08b9deab61436ab45b7cf.zip qemu-c58b42e095aed868b5d08b9deab61436ab45b7cf.tar.gz qemu-c58b42e095aed868b5d08b9deab61436ab45b7cf.tar.bz2 |
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 'tests/perf')
0 files changed, 0 insertions, 0 deletions