python/qmp/legacy: remove open_with_socket() calls
authorJohn Snow <jsnow@redhat.com>
Wed, 17 May 2023 16:34:05 +0000 (12:34 -0400)
committerJohn Snow <jsnow@redhat.com>
Wed, 31 May 2023 20:25:35 +0000 (16:25 -0400)
commit5bbc5936bb5b973848cbcabcc19346ffa812ae06
tree3e84ebdd7026086d673e19ad8ea1485d9022e1c7
parent7f5f3ae7d589d9297b2903e79cba1492807883d4
python/qmp/legacy: remove open_with_socket() calls

Favor using connect() when passing a socket instead of
open_with_socket(). Simultaneously, update constructor calls to use the
combined address argument for QEMUMonitorProtocol().

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20230517163406.2593480-5-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/machine/machine.py
python/qemu/qmp/legacy.py