summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-07 09:02:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-10 09:53:32 +0100
commit44b4c74cad0a5126d46408afa9e86ed50899aec3 (patch)
tree2d1efcd72517425960c43e9c37abbdfcbee789d6 /scripts/runqemu
parentef7e7b446a5d3bbc82b3df7118318ad249423581 (diff)
downloadpoky-44b4c74cad0a5126d46408afa9e86ed50899aec3.tar.gz
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>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 0668e12e61..6fca7439a1 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -842,11 +842,11 @@ to your build configuration.
842 if self.get('QB_TCPSERIAL_OPT'): 842 if self.get('QB_TCPSERIAL_OPT'):
843 self.qemu_opt_script += ' ' + self.get('QB_TCPSERIAL_OPT').replace('@PORT@', port) 843 self.qemu_opt_script += ' ' + self.get('QB_TCPSERIAL_OPT').replace('@PORT@', port)
844 else: 844 else:
845 self.qemu_opt_script += ' -serial tcp:127.0.0.1:%s' % port 845 self.qemu_opt_script += ' -serial tcp:127.0.0.1:%s,nodelay=on' % port
846 846
847 if len(ports) > 1: 847 if len(ports) > 1:
848 for port in ports[1:]: 848 for port in ports[1:]:
849 self.qemu_opt_script += ' -serial tcp:127.0.0.1:%s' % port 849 self.qemu_opt_script += ' -serial tcp:127.0.0.1:%s,nodelay=on' % port
850 850
851 def check_and_set(self): 851 def check_and_set(self):
852 """Check configs sanity and set when needed""" 852 """Check configs sanity and set when needed"""