beb6b57b3b
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> |
||
---|---|---|
.. | ||
aarch64vm.py | ||
basevm.py | ||
centos | ||
centos-8-aarch64.ks | ||
centos.aarch64 | ||
conf_example_aarch64.yml | ||
conf_example_x86.yml | ||
fedora | ||
freebsd | ||
haiku.x86_64 | ||
Makefile.include | ||
netbsd | ||
openbsd | ||
README | ||
ubuntu.aarch64 | ||
ubuntu.i386 | ||
ubuntuvm.py |
See docs/devel/testing.rst for help.