summaryrefslogtreecommitdiffstats
path: root/scripts/device-crash-test
diff options
context:
space:
mode:
authorJohn Snow2019-06-27 23:28:14 +0200
committerEduardo Habkost2019-07-02 00:02:10 +0200
commitabf0bf998dcb20807195018bfdd7abca2930dbbd (patch)
tree1e8edb1d32d794a2ca1ac2e43bdffa7777155c36 /scripts/device-crash-test
parentqmp: make qmp-shell work with python3 (diff)
downloadqemu-abf0bf998dcb20807195018bfdd7abca2930dbbd.tar.gz
qemu-abf0bf998dcb20807195018bfdd7abca2930dbbd.tar.xz
qemu-abf0bf998dcb20807195018bfdd7abca2930dbbd.zip
python/qemu: split QEMUMachine out from underneath __init__.py
It's not obvious that something named __init__.py actually houses important code that isn't relevant to python packaging glue. Move the QEMUMachine and related error classes out into their own module. Adjust users to the new import location. Signed-off-by: John Snow <jsnow@redhat.com> Message-Id: <20190627212816.27298-2-jsnow@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'scripts/device-crash-test')
-rwxr-xr-xscripts/device-crash-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/device-crash-test b/scripts/device-crash-test
index a6748910ad..15f213a6cd 100755
--- a/scripts/device-crash-test
+++ b/scripts/device-crash-test
@@ -36,7 +36,7 @@ import argparse
from itertools import chain
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'python'))
-from qemu import QEMUMachine
+from qemu.machine import QEMUMachine
logger = logging.getLogger('device-crash-test')
dbg = logger.debug