summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/qemurunner.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-11-09 19:31:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-11 13:43:37 +0000
commitc1841ab1e7b4e078cea77001e83e733764bb65ea (patch)
treeab79e826633ed2e2ed6309569b7c0536f2ece368 /meta/lib/oeqa/utils/qemurunner.py
parent2084cfcb3d15db3e02637f1cd63ab9c997f38a65 (diff)
downloadopenembedded-core-c1841ab1e7b4e078cea77001e83e733764bb65ea.tar.gz
oeqa/qemurunner: update exception class for QMP API changes
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'meta/lib/oeqa/utils/qemurunner.py')
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 6a85f57e49..e602399232 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: