From abf0bf998dcb20807195018bfdd7abca2930dbbd Mon Sep 17 00:00:00 2001 From: John Snow Date: Thu, 27 Jun 2019 17:28:14 -0400 Subject: 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 Message-Id: <20190627212816.27298-2-jsnow@redhat.com> Signed-off-by: Eduardo Habkost --- tests/vm/basevm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/vm') diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py index 4847549592..64067c1075 100755 --- a/tests/vm/basevm.py +++ b/tests/vm/basevm.py @@ -18,7 +18,8 @@ import logging import time import datetime sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python')) -from qemu import QEMUMachine, kvm_available +from qemu import kvm_available +from qemu.machine import QEMUMachine import subprocess import hashlib import optparse -- cgit v1.2.3