mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
runqemu/qemurunner: Use nodelay with tcp serial connections
This disables Nagle's algorithm for our tcp serial connections which may be causing data transfer issues. (From OE-Core rev: f8eff4c427881a98333fdf7c42f66ed6603e4f03) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
+2
-2
@@ -842,11 +842,11 @@ to your build configuration.
|
||||
if self.get('QB_TCPSERIAL_OPT'):
|
||||
self.qemu_opt_script += ' ' + self.get('QB_TCPSERIAL_OPT').replace('@PORT@', port)
|
||||
else:
|
||||
self.qemu_opt_script += ' -serial tcp:127.0.0.1:%s' % port
|
||||
self.qemu_opt_script += ' -serial tcp:127.0.0.1:%s,nodelay=on' % port
|
||||
|
||||
if len(ports) > 1:
|
||||
for port in ports[1:]:
|
||||
self.qemu_opt_script += ' -serial tcp:127.0.0.1:%s' % port
|
||||
self.qemu_opt_script += ' -serial tcp:127.0.0.1:%s,nodelay=on' % port
|
||||
|
||||
def check_and_set(self):
|
||||
"""Check configs sanity and set when needed"""
|
||||
|
||||
Reference in New Issue
Block a user