diff mbox series

[01/15] oeqa/qemurunner: update exception class for QMP API changes

Message ID 20221109193135.291048-1-ross.burton@arm.com
State New
Headers show
Series [01/15] oeqa/qemurunner: update exception class for QMP API changes | expand

Commit Message

Ross Burton Nov. 9, 2022, 7:31 p.m. UTC
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/lib/oeqa/utils/qemurunner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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: