mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
2d320ad188
commit
8b272e0018
3 changed files with 33 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue