python/qemu: Move kvm_available() to its own module
commit8b272e001868581736144dbedca41aa8bbe82019
authorWainer dos Santos Moschetta <wainersm@redhat.com>
Mon, 16 Dec 2019 19:14:34 +0000 (16 16:14 -0300)
committerCleber Rosa <crosa@redhat.com>
Mon, 16 Dec 2019 23:24:02 +0000 (16 18:24 -0500)
tree3e9284808b31a824f3beedd2edf0d21a4497e76f
parent2d320ad18876ac263049ee7c5425052f2661f706
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>
python/qemu/__init__.py
python/qemu/accel.py [copied from python/qemu/__init__.py with 84% similarity]
tests/vm/basevm.py