mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 14:02:22 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
0f21df06a7
commit
5f0f366d1a
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user