aboutsummaryrefslogtreecommitdiff
path: root/scripts/qmp/qemu-ga-client
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qmp/qemu-ga-client')
-rwxr-xr-xscripts/qmp/qemu-ga-client5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/qmp/qemu-ga-client b/scripts/qmp/qemu-ga-client
index e8cb7646a0..30cf8a9a0d 100755
--- a/scripts/qmp/qemu-ga-client
+++ b/scripts/qmp/qemu-ga-client
@@ -37,10 +37,13 @@
#
from __future__ import print_function
+import os
+import sys
import base64
import random
-import qmp
+sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
+from qemu import qmp
class QemuGuestAgent(qmp.QEMUMonitorProtocol):