Skip to contentSkip to conversation

oeqa/qemurunner: update exception class for QMP API changes

OE-core Mark Hatle 1 participant 1 message Jun 20, 2023

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

From: Ross Burton <[email protected]>

(cherry picked from commit c1841ab1e7b4e078cea77001e83e733764bb65ea)
---
 meta/lib/oeqa/utils/qemurunner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/utils/qemurunner.py +1 -1
index a455b3b389..ca75ce7e70 100644
@@ -356,7 +356,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:
Signature · 1 line
2.25.1