[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 14/15] scripts/qom-fuse: add redirection shim to python/qemu/qmp/
From: |
John Snow |
Subject: |
[PATCH 14/15] scripts/qom-fuse: add redirection shim to python/qemu/qmp/qom-fuse.py |
Date: |
Wed, 21 Oct 2020 14:52:07 -0400 |
By leaving the script absent for a commit, git-blame travels to the new
file instead of staying on the shim.
Signed-off-by: John Snow <jsnow@redhat.com>
---
scripts/qmp/qom-fuse | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100755 scripts/qmp/qom-fuse
diff --git a/scripts/qmp/qom-fuse b/scripts/qmp/qom-fuse
new file mode 100755
index 0000000000..a58c8ef979
--- /dev/null
+++ b/scripts/qmp/qom-fuse
@@ -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.qom_fuse import QOMFuse
+
+
+if __name__ == '__main__':
+ sys.exit(QOMFuse.entry_point())
--
2.26.2
- [PATCH 11/15] scripts/qom-fuse: ensure QOMFuse.read always returns bytes, (continued)
- [PATCH 11/15] scripts/qom-fuse: ensure QOMFuse.read always returns bytes, John Snow, 2020/10/21
- [PATCH 06/15] python: Add 'fh' to known-good variable names, John Snow, 2020/10/21
- [PATCH 01/15] python/qmp: Add qom script rewrites, John Snow, 2020/10/21
- [PATCH 02/15] python/qmp: add qom script entry points, John Snow, 2020/10/21
- [PATCH 04/15] scripts/qom-fuse: apply isort rules, John Snow, 2020/10/21
- [PATCH 09/15] scripts/qom-fuse: Convert to QOMCommand, John Snow, 2020/10/21
- [PATCH 15/15] python: add fuse command to 'qom' tools, John Snow, 2020/10/21
- [PATCH 14/15] scripts/qom-fuse: add redirection shim to python/qemu/qmp/qom-fuse.py,
John Snow <=
- [PATCH 05/15] scripts/qom-fuse: apply flake8 rules, John Snow, 2020/10/21