mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
9f34101db0
commit
a9b1315f86
4 changed files with 22 additions and 10 deletions
|
@ -867,6 +867,9 @@ QemuOptsList qemu_chardev_opts = {
|
|||
},{
|
||||
.name = "delay",
|
||||
.type = QEMU_OPT_BOOL,
|
||||
},{
|
||||
.name = "nodelay",
|
||||
.type = QEMU_OPT_BOOL,
|
||||
},{
|
||||
.name = "reconnect",
|
||||
.type = QEMU_OPT_NUMBER,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue