aboutsummaryrefslogtreecommitdiff
path: root/scripts/qmp
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-06-04 11:55:32 -0400
committerJohn Snow <jsnow@redhat.com>2021-06-18 16:10:06 -0400
commit88fb483fc559e297ee681e161d70c4615b2a28ea (patch)
treeba891387455f782f351f53ce97d936a1c3fba5e2 /scripts/qmp
parent7e7c2a0de74d56c3f47205df3dcf68ed7d43d30d (diff)
downloadqemu-88fb483fc559e297ee681e161d70c4615b2a28ea.zip
qemu-88fb483fc559e297ee681e161d70c4615b2a28ea.tar.gz
qemu-88fb483fc559e297ee681e161d70c4615b2a28ea.tar.bz2
scripts/qemu-ga-client: Add forwarder shim
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> Message-id: 20210604155532.1499282-12-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'scripts/qmp')
-rwxr-xr-xscripts/qmp/qemu-ga-client11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/qmp/qemu-ga-client b/scripts/qmp/qemu-ga-client
new file mode 100755
index 0000000..102fd2c
--- /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())