summaryrefslogtreecommitdiffstats
path: root/tests/vm/basevm.py
diff options
context:
space:
mode:
authorWainer dos Santos Moschetta2019-12-16 20:14:34 +0100
committerCleber Rosa2019-12-17 00:24:02 +0100
commit8b272e001868581736144dbedca41aa8bbe82019 (patch)
tree3e9284808b31a824f3beedd2edf0d21a4497e76f /tests/vm/basevm.py
parentAcceptance tests: use relative location for tests (diff)
downloadqemu-8b272e001868581736144dbedca41aa8bbe82019.tar.gz
qemu-8b272e001868581736144dbedca41aa8bbe82019.tar.xz
qemu-8b272e001868581736144dbedca41aa8bbe82019.zip
python/qemu: Move kvm_available() to its own module
This creates the 'accel' Python module to be the home for utilities that deal with accelerators. Also moved kvm_available() from __init__.py to this new module. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20191216191438.93418-2-wainersm@redhat.com> Signed-off-by: Cleber Rosa <crosa@redhat.com>
Diffstat (limited to 'tests/vm/basevm.py')
-rwxr-xr-xtests/vm/basevm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index 0b8c1b2657..53b9515ee2 100755
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -21,7 +21,7 @@ import logging
import time
import datetime
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
-from qemu import kvm_available
+from qemu.accel import kvm_available
from qemu.machine import QEMUMachine
import subprocess
import hashlib