qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] chardev: add nodelay option


From: Paolo Bonzini
Subject: Re: [PATCH v2] chardev: add nodelay option
Date: Wed, 3 Mar 2021 14:31:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

On 03/03/21 14:24, Markus Armbruster wrote:
$ qemu-system-x86_64 -chardev socket,id=chr0,path=sock,nodelay=on
qemu-system-x86_64: -chardev socket,id=chr0,path=sock,nodelay=on: Invalid 
parameter 'nodelay'

You forgot to update qemu_chardev_opts:

    diff --git a/chardev/char.c b/chardev/char.c
    index 288efebd12..e6128c046f 100644
    --- a/chardev/char.c
    +++ b/chardev/char.c
    @@ -864,6 +864,9 @@ QemuOptsList qemu_chardev_opts = {
             },{
                 .name = "server",
                 .type = QEMU_OPT_BOOL,
    +        },{
    +            .name = "nodelay",
    +            .type = QEMU_OPT_BOOL,
             },{
                 .name = "delay",
                 .type = QEMU_OPT_BOOL,

Well, I forgot to commit it.  But the outcome is the same.  Thanks. :(

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]