[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/11] scripts/qemu-ga-client: Add forwarder shim
From: |
John Snow |
Subject: |
[PATCH 11/11] scripts/qemu-ga-client: Add forwarder shim |
Date: |
Fri, 4 Jun 2021 11:55:32 -0400 |
Add a little forwarder shim until we are sure that everyone is
comfortable with how to use the tools in their new packaged location.
Signed-off-by: John Snow <jsnow@redhat.com>
---
scripts/qmp/qemu-ga-client | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100755 scripts/qmp/qemu-ga-client
diff --git a/scripts/qmp/qemu-ga-client b/scripts/qmp/qemu-ga-client
new file mode 100755
index 0000000000..102fd2cad9
--- /dev/null
+++ b/scripts/qmp/qemu-ga-client
@@ -0,0 +1,11 @@
+#!/usr/bin/env python3
+
+import os
+import sys
+
+sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
+from qemu.qmp import qemu_ga_client
+
+
+if __name__ == '__main__':
+ sys.exit(qemu_ga_client.main())
--
2.31.1
- [PATCH 00/11] python: move /scripts/qmp/gemu-ga-client.py to qemu.qmp package, John Snow, 2021/06/04
- [PATCH 03/11] scripts/qemu-ga-client: Fix exception handling, John Snow, 2021/06/04
- [PATCH 01/11] scripts/qemu-ga-client: apply isort rules, John Snow, 2021/06/04
- [PATCH 05/11] scripts/qemu-ga-client: add module docstring, John Snow, 2021/06/04
- [PATCH 07/11] python/qmp: Correct type of QMPReturnValue, John Snow, 2021/06/04
- [PATCH 06/11] scripts/qemu-ga-client: apply (most) pylint rules, John Snow, 2021/06/04
- [PATCH 11/11] scripts/qemu-ga-client: Add forwarder shim,
John Snow <=
- [PATCH 02/11] scripts/qemu-ga-client: apply (most) flake8 rules, John Snow, 2021/06/04
- [PATCH 08/11] scripts/qemu-ga-client: add mypy type hints, John Snow, 2021/06/04
- [PATCH 04/11] scripts/qemu-ga-client: replace deprecated optparse with argparse, John Snow, 2021/06/04
- [PATCH 09/11] scripts/qemu-ga-client: move to python/qemu/qmp/qemu_ga_client.py, John Snow, 2021/06/04
- [PATCH 10/11] python/qemu-ga-client: add entry point, John Snow, 2021/06/04
- Re: [PATCH 00/11] python: move /scripts/qmp/gemu-ga-client.py to qemu.qmp package, John Snow, 2021/06/11