]> git.ipfire.org Git - thirdparty/qemu.git/commit
python/qemu/machine: use socketpair() for QMP by default
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 11 Jan 2023 08:01:01 +0000 (12:01 +0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 26 Sep 2025 12:40:35 +0000 (15:40 +0300)
commitc7cb4f1e82002eada0a059eb16eb9fd8e260bb98
tree57fd969b0afc3385671f29f1330c4bcae7b62fe7
parent68a48e69e5c092c6ea100cc6d2aa1d9518058100
python/qemu/machine: use socketpair() for QMP by default

When no monitor address is given, establish the QMP communication through
a socketpair() (API is also supported on Windows since Python 3.5)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20230111080101.969151-4-marcandre.lureau@redhat.com
[Resolved conflicts, fixed typing error. --js]
Signed-off-by: John Snow <jsnow@redhat.com>
(cherry picked from commit bd4c0ef409140bd1be393407c04005ac077d4574)
(Mjt: this fixes quite a few qemu iotests which was probably racing somewhere)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
python/qemu/machine/machine.py