summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index a9efb849d9..f7e5a3b3a6 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -120,7 +120,10 @@ class QemuRunner:
120 import fcntl 120 import fcntl
121 fl = fcntl.fcntl(o, fcntl.F_GETFL) 121 fl = fcntl.fcntl(o, fcntl.F_GETFL)
122 fcntl.fcntl(o, fcntl.F_SETFL, fl | os.O_NONBLOCK) 122 fcntl.fcntl(o, fcntl.F_SETFL, fl | os.O_NONBLOCK)
123 return os.read(o.fileno(), 1000000).decode("utf-8") 123 try:
124 return os.read(o.fileno(), 1000000).decode("utf-8")
125 except BlockingIOError:
126 return ""
124 127
125 128
126 def handleSIGCHLD(self, signum, frame): 129 def handleSIGCHLD(self, signum, frame):