aboutsummaryrefslogtreecommitdiff
path: root/scripts/qmp/qom-get
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qmp/qom-get')
-rwxr-xr-xscripts/qmp/qom-get4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/qmp/qom-get b/scripts/qmp/qom-get
index 7c5ede91bb..666df71832 100755
--- a/scripts/qmp/qom-get
+++ b/scripts/qmp/qom-get
@@ -13,7 +13,9 @@
import sys
import os
-from qmp import QEMUMonitorProtocol
+
+sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
+from qemu.qmp import QEMUMonitorProtocol
cmd, args = sys.argv[0], sys.argv[1:]
socket_path = None