]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
python: move qmp-shell under the AQMP package
authorJohn Snow <jsnow@redhat.com>
Mon, 10 Jan 2022 23:28:55 +0000 (18:28 -0500)
committerJohn Snow <jsnow@redhat.com>
Fri, 21 Jan 2022 21:01:31 +0000 (16:01 -0500)
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Beraldo Leal <bleal@redhat.com>
python/README.rst
python/qemu/aqmp/qmp_shell.py [moved from python/qemu/qmp/qmp_shell.py with 100% similarity]
python/setup.cfg
scripts/qmp/qmp-shell

index 9c1fceaee73b11cb313b71a9a558a0bc2e4a813a..fcf74f69eae011aafd1e089e1f926991e6f19908 100644 (file)
@@ -59,7 +59,7 @@ Package installation also normally provides executable console scripts,
 so that tools like ``qmp-shell`` are always available via $PATH. To
 invoke them without installation, you can invoke e.g.:
 
-``> PYTHONPATH=~/src/qemu/python python3 -m qemu.qmp.qmp_shell``
+``> PYTHONPATH=~/src/qemu/python python3 -m qemu.aqmp.qmp_shell``
 
 The mappings between console script name and python module path can be
 found in ``setup.cfg``.
index 04a41ef1a08432bfe23dea9c56cbf148eeccff42..3fb18f845d7bc1ff035265c7a2a277c4d7ceb2f9 100644 (file)
@@ -67,7 +67,7 @@ console_scripts =
     qom-tree = qemu.utils.qom:QOMTree.entry_point
     qom-fuse = qemu.utils.qom_fuse:QOMFuse.entry_point [fuse]
     qemu-ga-client = qemu.utils.qemu_ga_client:main
-    qmp-shell = qemu.qmp.qmp_shell:main
+    qmp-shell = qemu.aqmp.qmp_shell:main
     aqmp-tui = qemu.aqmp.aqmp_tui:main [tui]
 
 [flake8]
index 4a20f97db708b74ebfed715e38ea325d52edd411..31b19d73e22a4d9c91aaf0ce97251cef5a8526fb 100755 (executable)
@@ -4,7 +4,7 @@ import os
 import sys
 
 sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
-from qemu.qmp import qmp_shell
+from qemu.aqmp import qmp_shell
 
 
 if __name__ == '__main__':