diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-25 11:47:52 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-06 11:41:54 +0100 |
| commit | a9b1315f86d9323587b340bd3bf83b9d66a55563 (patch) | |
| tree | 69ec68d3b38d77799bbe966451f43650aad8de23 /gdbstub.c | |
| parent | 9f34101db00eabd8f424e98b481c2394e6509198 (diff) | |
| download | focaccia-qemu-a9b1315f86d9323587b340bd3bf83b9d66a55563.tar.gz focaccia-qemu-a9b1315f86d9323587b340bd3bf83b9d66a55563.zip | |
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>
Diffstat (limited to 'gdbstub.c')
| -rw-r--r-- | gdbstub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbstub.c b/gdbstub.c index 3ee40479b6..16d7c8f534 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -3505,7 +3505,7 @@ int gdbserver_start(const char *device) if (strstart(device, "tcp:", NULL)) { /* enforce required TCP attributes */ snprintf(gdbstub_device_name, sizeof(gdbstub_device_name), - "%s,wait=off,delay=off,server=on", device); + "%s,wait=off,nodelay=on,server=on", device); device = gdbstub_device_name; } #ifndef _WIN32 |