aboutsummaryrefslogtreecommitdiff
path: root/scripts/qmp/qmp-shell-wrap
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qmp/qmp-shell-wrap')
-rwxr-xr-xscripts/qmp/qmp-shell-wrap11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/qmp/qmp-shell-wrap b/scripts/qmp/qmp-shell-wrap
new file mode 100755
index 0000000000..9e94da114f
--- /dev/null
+++ b/scripts/qmp/qmp-shell-wrap
@@ -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 qmp_shell
+
+
+if __name__ == '__main__':
+ qmp_shell.main_wrap()