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:40 +0000
commit5f0f366d1ab49bb37efb8dda3e3c5fc40f235eef (patch)
treea104e9c1c412b04a77ebeb98c6d87cfb7a63dbb4 /meta/lib/oeqa/utils/qemurunner.py
parent0f21df06a77c5b3c7fd9ef778188b98bd5b1ad94 (diff)
downloadpoky-5f0f366d1ab49bb37efb8dda3e3c5fc40f235eef.tar.gz
oeqa/qemurunner: update exception class for QMP API changes
(From OE-Core rev: c1841ab1e7b4e078cea77001e83e733764bb65ea) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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:
354 except OSError as msg: 354 except OSError as msg:
355 self.logger.warning("Failed to connect qemu monitor socket: %s File: %s" % (msg, msg.filename)) 355 self.logger.warning("Failed to connect qemu monitor socket: %s File: %s" % (msg, msg.filename))
356 return False 356 return False
357 except qmp.QMPConnectError as msg: 357 except qmp.legacy.QMPError as msg:
358 self.logger.warning("Failed to communicate with qemu monitor: %s" % (msg)) 358 self.logger.warning("Failed to communicate with qemu monitor: %s" % (msg))
359 return False 359 return False
360 finally: 360 finally: