]> git.ipfire.org Git - thirdparty/qemu.git/commit
python/aqmp: Fix negotiation with pre-"oob" QEMU
authorJohn Snow <jsnow@redhat.com>
Tue, 1 Feb 2022 04:11:31 +0000 (23:11 -0500)
committerJohn Snow <jsnow@redhat.com>
Wed, 2 Feb 2022 19:12:22 +0000 (14:12 -0500)
commitfa73e6e4ca1a93c5bbf9d05fb2a25736ab810b35
tree1454f202f038d156e86ffa7e16bd65d4da5e1494
parent47cc1a3655135b89fa75c2824fbddd29df874612
python/aqmp: Fix negotiation with pre-"oob" QEMU

QEMU versions prior to the "oob" capability *also* can't accept the
"enable" keyword argument at all. Fix the handshake process with older
QEMU versions.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 20220201041134.1237016-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/aqmp/qmp_client.py