summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/qemurunner.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils/qemurunner.py')
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index c68974f25c..3aeef19434 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -198,7 +198,7 @@ class QemuRunner:
198 qmp_file = "." + next(tempfile._get_candidate_names()) 198 qmp_file = "." + next(tempfile._get_candidate_names())
199 qmp_param = ' -S -qmp unix:./%s,server,wait' % (qmp_file) 199 qmp_param = ' -S -qmp unix:./%s,server,wait' % (qmp_file)
200 qmp_port = self.tmpdir + "/" + qmp_file 200 qmp_port = self.tmpdir + "/" + qmp_file
201 # Create a second socket connection for debugging use, 201 # Create a second socket connection for debugging use,
202 # note this will NOT cause qemu to block waiting for the connection 202 # note this will NOT cause qemu to block waiting for the connection
203 qmp_file2 = "." + next(tempfile._get_candidate_names()) 203 qmp_file2 = "." + next(tempfile._get_candidate_names())
204 qmp_param += ' -qmp unix:./%s,server,nowait' % (qmp_file2) 204 qmp_param += ' -qmp unix:./%s,server,nowait' % (qmp_file2)
@@ -463,6 +463,8 @@ class QemuRunner:
463 socklist.remove(self.server_socket) 463 socklist.remove(self.server_socket)
464 self.logger.debug("Connection from %s:%s" % addr) 464 self.logger.debug("Connection from %s:%s" % addr)
465 else: 465 else:
466 # try to avoid reading only a single character at a time
467 time.sleep(0.1)
466 data = data + sock.recv(1024) 468 data = data + sock.recv(1024)
467 if data: 469 if data:
468 bootlog += data 470 bootlog += data