aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2018-06-25 14:10:56 -0300
committerEduardo Habkost <ehabkost@redhat.com>2018-06-25 14:10:56 -0300
commit0b6e9aa89e02c8b213af019aad816e00ba8243f8 (patch)
tree27eb6832830ebf44939c7b968df9044c6d4433ae /scripts
parent6b2942f966d5e54c37d305c80f5f98d504c2bc55 (diff)
parent35e238c9330669882487f9929e0aa97900431853 (diff)
downloadqemu-0b6e9aa89e02c8b213af019aad816e00ba8243f8.zip
qemu-0b6e9aa89e02c8b213af019aad816e00ba8243f8.tar.gz
qemu-0b6e9aa89e02c8b213af019aad816e00ba8243f8.tar.bz2
Merge branch 'master' of git://git.qemu.org/qemu into x86-next
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/qmp/qemu-ga-client3
-rwxr-xr-xscripts/qmp/qmp3
-rwxr-xr-xscripts/qmp/qmp-shell3
-rwxr-xr-xscripts/qmp/qom-fuse3
-rwxr-xr-xscripts/qmp/qom-get3
-rwxr-xr-xscripts/qmp/qom-list3
-rwxr-xr-xscripts/qmp/qom-set3
-rwxr-xr-xscripts/qmp/qom-tree3
8 files changed, 8 insertions, 16 deletions
diff --git a/scripts/qmp/qemu-ga-client b/scripts/qmp/qemu-ga-client
index 976e69e..e8cb764 100755
--- a/scripts/qmp/qemu-ga-client
+++ b/scripts/qmp/qemu-ga-client
@@ -37,11 +37,10 @@
#
from __future__ import print_function
-from __future__ import absolute_import
import base64
import random
-from . import qmp
+import qmp
class QemuGuestAgent(qmp.QEMUMonitorProtocol):
diff --git a/scripts/qmp/qmp b/scripts/qmp/qmp
index 33a0d6b..6cb46fd 100755
--- a/scripts/qmp/qmp
+++ b/scripts/qmp/qmp
@@ -11,9 +11,8 @@
# See the COPYING file in the top-level directory.
from __future__ import print_function
-from __future__ import absolute_import
import sys, os
-from .qmp import QEMUMonitorProtocol
+from qmp import QEMUMonitorProtocol
def print_response(rsp, prefix=[]):
if type(rsp) == list:
diff --git a/scripts/qmp/qmp-shell b/scripts/qmp/qmp-shell
index 26418da..a42306d 100755
--- a/scripts/qmp/qmp-shell
+++ b/scripts/qmp/qmp-shell
@@ -66,8 +66,7 @@
# sent to QEMU, which is useful for debugging and documentation generation.
from __future__ import print_function
-from __future__ import absolute_import
-from . import qmp
+import qmp
import json
import ast
import readline
diff --git a/scripts/qmp/qom-fuse b/scripts/qmp/qom-fuse
index e524e79..4d85970 100755
--- a/scripts/qmp/qom-fuse
+++ b/scripts/qmp/qom-fuse
@@ -11,12 +11,11 @@
# the COPYING file in the top-level directory.
##
-from __future__ import absolute_import
import fuse, stat
from fuse import Fuse
import os, posix
from errno import *
-from .qmp import QEMUMonitorProtocol
+from qmp import QEMUMonitorProtocol
fuse.fuse_python_api = (0, 2)
diff --git a/scripts/qmp/qom-get b/scripts/qmp/qom-get
index a3f5d76..ec5275d 100755
--- a/scripts/qmp/qom-get
+++ b/scripts/qmp/qom-get
@@ -12,10 +12,9 @@
##
from __future__ import print_function
-from __future__ import absolute_import
import sys
import os
-from .qmp import QEMUMonitorProtocol
+from qmp import QEMUMonitorProtocol
cmd, args = sys.argv[0], sys.argv[1:]
socket_path = None
diff --git a/scripts/qmp/qom-list b/scripts/qmp/qom-list
index 2ba25e1..0f97440 100755
--- a/scripts/qmp/qom-list
+++ b/scripts/qmp/qom-list
@@ -12,10 +12,9 @@
##
from __future__ import print_function
-from __future__ import absolute_import
import sys
import os
-from .qmp import QEMUMonitorProtocol
+from qmp import QEMUMonitorProtocol
cmd, args = sys.argv[0], sys.argv[1:]
socket_path = None
diff --git a/scripts/qmp/qom-set b/scripts/qmp/qom-set
index 0352668..26ed9e3 100755
--- a/scripts/qmp/qom-set
+++ b/scripts/qmp/qom-set
@@ -12,10 +12,9 @@
##
from __future__ import print_function
-from __future__ import absolute_import
import sys
import os
-from .qmp import QEMUMonitorProtocol
+from qmp import QEMUMonitorProtocol
cmd, args = sys.argv[0], sys.argv[1:]
socket_path = None
diff --git a/scripts/qmp/qom-tree b/scripts/qmp/qom-tree
index 32e708a..31603c6 100755
--- a/scripts/qmp/qom-tree
+++ b/scripts/qmp/qom-tree
@@ -14,10 +14,9 @@
##
from __future__ import print_function
-from __future__ import absolute_import
import sys
import os
-from .qmp import QEMUMonitorProtocol
+from qmp import QEMUMonitorProtocol
cmd, args = sys.argv[0], sys.argv[1:]
socket_path = None