]> git.proxmox.com Git - mirror_qemu.git/commit
python/aqmp: Create sync QMP wrapper for iotests
authorJohn Snow <jsnow@redhat.com>
Tue, 26 Oct 2021 17:56:11 +0000 (13:56 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 1 Nov 2021 15:54:59 +0000 (11:54 -0400)
commitf122be6093f5fc61fe5784e342781fab07f5defc
tree01985dfccb6b30faa9b6f55a2c1c6516df16efe6
parent8f05aee5333a78e2244008021f72e7b21fdc147f
python/aqmp: Create sync QMP wrapper for iotests

This is a wrapper around the async QMPClient that mimics the old,
synchronous QEMUMonitorProtocol class. It is designed to be
interchangeable with the old implementation.

It does not, however, attempt to mimic Exception compatibility.

Signed-off-by: John Snow <jsnow@redhat.com>
Acked-by: Hanna Reitz <hreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-id: 20211026175612.4127598-8-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/aqmp/legacy.py [new file with mode: 0644]