]> git.proxmox.com Git - mirror_qemu.git/commit
python/machine: remove unused sock_dir argument
authorJohn Snow <jsnow@redhat.com>
Thu, 28 Sep 2023 04:49:43 +0000 (00:49 -0400)
committerJohn Snow <jsnow@redhat.com>
Wed, 11 Oct 2023 20:02:02 +0000 (16:02 -0400)
commit46d4747ab59721e657c0012d2f2ca6f3aeb7085d
tree8dbba7bca7897973da5f3ef4983b090a8b1e1078
parentd39673781361ed528c2afba7197f26481caab482
python/machine: remove unused sock_dir argument

By using a socketpair for all of the sockets managed by the VM class and
its extensions, we don't need the sock_dir argument anymore, so remove
it.

We only added this argument so that we could specify a second, shorter
temporary directory for cases where the temp/log dirs were "too long" as
a socket name on macOS. We don't need it for this class now. In one
case, avocado testing takes over responsibility for creating an
appropriate sockdir.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20230928044943.849073-7-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/machine/machine.py
python/qemu/machine/qtest.py
tests/avocado/acpi-bits.py
tests/avocado/avocado_qemu/__init__.py
tests/avocado/machine_aspeed.py
tests/qemu-iotests/iotests.py
tests/qemu-iotests/tests/copy-before-write