qemu/tests/vm
John Snow beb6b57b3b python: create qemu packages
move python/qemu/*.py to python/qemu/[machine, qmp, utils]/*.py and
update import directives across the tree.

This is done to create a PEP420 namespace package, in which we may
create subpackages. To do this, the namespace directory ("qemu") should
not have any modules in it. Those files will go into new 'machine',
'qmp' and 'utils' subpackages instead.

Implement machine/__init__.py making the top-level classes and functions
from its various modules available directly inside the package. Change
qmp.py to qmp/__init__.py similarly, such that all of the useful QMP
library classes are available directly from "qemu.qmp" instead of
"qemu.qmp.qmp".

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-id: 20210527211715.394144-10-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
2021-06-01 16:21:21 -04:00
..
aarch64vm.py python: create qemu packages 2021-06-01 16:21:21 -04:00
basevm.py python: create qemu packages 2021-06-01 16:21:21 -04:00
centos add ninja to dockerfiles, CI configurations and test VMs 2020-10-17 10:45:50 -04:00
centos-8-aarch64.ks tests/vm: Added a new script for centos.aarch64. 2020-07-11 15:52:59 +01:00
centos.aarch64 add ninja to dockerfiles, CI configurations and test VMs 2020-10-17 10:45:50 -04:00
conf_example_aarch64.yml tests/vm: Added configuration file support 2020-07-11 15:52:59 +01:00
conf_example_x86.yml tests/vm: Added configuration file support 2020-07-11 15:52:59 +01:00
fedora add ninja to dockerfiles, CI configurations and test VMs 2020-10-17 10:45:50 -04:00
freebsd FreeBSD: Upgrade to 12.2 release 2021-03-20 06:33:17 +01:00
haiku.x86_64 tests/docker, tests/vm: remove setuptools from images 2020-11-25 12:50:48 -05:00
Makefile.include tests/vm: Add Haiku test based on their vagrant images 2020-11-17 09:45:24 +01:00
netbsd tests/docker, tests/vm: remove setuptools from images 2020-11-25 12:50:48 -05:00
openbsd tests/docker, tests/vm: remove setuptools from images 2020-11-25 12:50:48 -05:00
README docs: Add docs/devel/testing.rst 2018-02-08 09:23:07 +08:00
ubuntu.aarch64 add ninja to dockerfiles, CI configurations and test VMs 2020-10-17 10:45:50 -04:00
ubuntu.i386 add ninja to dockerfiles, CI configurations and test VMs 2020-10-17 10:45:50 -04:00
ubuntuvm.py tests/vm: Add common Ubuntu python module 2020-07-11 15:52:59 +01:00

See docs/devel/testing.rst for help.