diff options
author | Wainer dos Santos Moschetta <wainersm@redhat.com> | 2019-12-16 16:14:34 -0300 |
---|---|---|
committer | Cleber Rosa <crosa@redhat.com> | 2019-12-16 18:24:02 -0500 |
commit | 8b272e001868581736144dbedca41aa8bbe82019 (patch) | |
tree | 3e9284808b31a824f3beedd2edf0d21a4497e76f /tests | |
parent | 2d320ad18876ac263049ee7c5425052f2661f706 (diff) | |
download | 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')
-rwxr-xr-x | tests/vm/basevm.py | 2 |
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 |