diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-07 09:02:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-10 09:50:42 +0100 |
commit | f8eff4c427881a98333fdf7c42f66ed6603e4f03 (patch) | |
tree | eb7785cec60ad3dcd032182f756e428d141ff4c3 /scripts | |
parent | 0a65f0d272895ba13c8c133ee71f3605d765a8a7 (diff) | |
download | openembedded-core-f8eff4c427881a98333fdf7c42f66ed6603e4f03.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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu | 4 |
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. 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""" |