qemu-e2k/python/qemu
Cleber Rosa 2ca6e26cea Python: expose QEMUMachine's temporary directory
Each instance of qemu.machine.QEMUMachine currently has a "test
directory", which may not have any relation to a "test", and it's
really a temporary directory.

Users instantiating the QEMUMachine class will be able to set the
location of the directory that will *contain* the QEMUMachine unique
temporary directory, so that parameter name has been changed from
test_dir to base_temp_dir.

A property has been added to allow users to access it without using
private attributes, and with that, the directory is created on first
use of the property.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20210211220146.2525771-3-crosa@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
2021-06-01 16:21:20 -04:00
..
__init__.py python/qemu: Remove unneeded imports in __init__ 2019-12-16 18:39:51 -05:00
.flake8 python/qemu: delint; add flake8 config 2020-05-31 18:25:30 +02:00
.isort.cfg python/qemu: use isort to lay out imports 2020-10-20 09:37:57 -04:00
accel.py python/qemu: Add mypy type annotations 2020-10-20 09:37:57 -04:00
console_socket.py python: add __repr__ to ConsoleSocket to aid debugging 2021-01-02 21:03:09 +01:00
machine.py Python: expose QEMUMachine's temporary directory 2021-06-01 16:21:20 -04:00
pylintrc python/qemu: Cleanup changes to ConsoleSocket 2020-07-27 09:41:52 +01:00
qmp.py python/qemu/qmp.py: Fix settimeout operation 2020-10-20 15:00:06 -04:00
qtest.py Python: expose QEMUMachine's temporary directory 2021-06-01 16:21:20 -04:00