X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/8f8fd9edba4bd6768da2c8e2bea49ad5c16ced1a..e95e05dab6607d9e86cd2eaa3ae4508bf7bb8fbb:/scripts/device-crash-test diff --git a/scripts/device-crash-test b/scripts/device-crash-test index a6748910ad..305d0427af 100755 --- a/scripts/device-crash-test +++ b/scripts/device-crash-test @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (c) 2017 Red Hat Inc # @@ -23,7 +23,6 @@ Run QEMU with all combinations of -machine and -device types, check for crashes and unexpected errors. """ -from __future__ import print_function import os import sys @@ -36,7 +35,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