
Swap out the synchronous QEMUMonitorProtocol from qemu.qmp with the sync wrapper from qemu.aqmp instead. Add an escape hatch in the form of the environment variable QEMU_PYTHON_LEGACY_QMP which allows you to cajole QEMUMachine into using the old implementation, proving that both implementations work concurrently. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Message-id: 20211026175612.4127598-9-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
qemu.machine package ==================== This package provides core utilities used for testing and debugging QEMU. It is used by the iotests, vm tests, acceptance tests, and several other utilities in the ./scripts directory. It is not a fully-fledged SDK and it is subject to change at any time. See the documentation in ``__init__.py`` for more information.