OSDN Git Service

python/machine: move socket setup out of _base_args property
authorJohn Snow <jsnow@redhat.com>
Thu, 28 Sep 2023 04:49:38 +0000 (00:49 -0400)
committerJohn Snow <jsnow@redhat.com>
Wed, 11 Oct 2023 20:02:02 +0000 (16:02 -0400)
commit91e11db7bcc486db2dc2bdab94ac5de62c02ce9a
tree6ea36cccb9e0249a56fbaebb56b790af501ab4d1
parenta51e5124a655b3dad80b36b18547cb1eca2c5eb2
python/machine: move socket setup out of _base_args property

This property isn't meant to do much else besides return a list of
strings, so move this setup back out into _pre_launch().

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20230928044943.849073-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/machine/machine.py