From: Ross Burton Date: Wed, 9 Nov 2022 19:31:21 +0000 (+0000) Subject: oeqa/qemurunner: update exception class for QMP API changes X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2544 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1841ab1e7b4e078cea77001e83e733764bb65ea;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/qemurunner: update exception class for QMP API changes Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni --- diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 6a85f57e498..e602399232b 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py @@ -354,7 +354,7 @@ class QemuRunner: except OSError as msg: self.logger.warning("Failed to connect qemu monitor socket: %s File: %s" % (msg, msg.filename)) return False - except qmp.QMPConnectError as msg: + except qmp.legacy.QMPError as msg: self.logger.warning("Failed to communicate with qemu monitor: %s" % (msg)) return False finally: