python/aqmp: stop the server during disconnect()
commit32c5abf051d06ff103d9d30eb6a7f3e8bf582334
authorJohn Snow <jsnow@redhat.com>
Fri, 25 Feb 2022 20:59:45 +0000 (25 15:59 -0500)
committerJohn Snow <jsnow@redhat.com>
Mon, 7 Mar 2022 19:36:41 +0000 (7 14:36 -0500)
tree1d7fcf55484a732d7b45d98922d6f82893ab0d04
parent5e9902a030ab832b0b6577764c65ce6a6f874af6
python/aqmp: stop the server during disconnect()

Before we allow the full separation of starting the server and accepting
new connections, make sure that the disconnect cleans up the server and
its new state, too.

Signed-off-by: John Snow <jsnow@redhat.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20220225205948.3693480-8-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/aqmp/protocol.py