]> git.proxmox.com Git - mirror_qemu.git/commit
chardev: add nodelay option
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 25 Feb 2021 10:47:52 +0000 (11:47 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 6 Mar 2021 10:41:54 +0000 (11:41 +0100)
commita9b1315f86d9323587b340bd3bf83b9d66a55563
tree69ec68d3b38d77799bbe966451f43650aad8de23
parent9f34101db00eabd8f424e98b481c2394e6509198
chardev: add nodelay option

The "delay" option was introduced as a way to enable Nagle's algorithm
with ",nodelay".  Since the short form for boolean options has now been
deprecated, introduce a more properly named "nodelay" option.  The "delay"
option remains as an undocumented option.

"delay" and "nodelay" are mutually exclusive.  Because the check is
done at consumption time, the code also rejects them if one of the
two is specified via -set.

Based-on: <20210226080526.651705-1-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
chardev/char-socket.c
chardev/char.c
gdbstub.c
qemu-options.hx