qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 08/13] char: Add mux option to ChardevOptions


From: Paolo Bonzini
Subject: Re: [PATCH 08/13] char: Add mux option to ChardevOptions
Date: Fri, 13 Nov 2020 15:16:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

On 13/11/20 14:20, Kevin Wolf wrote:
        -object chardev-stdio,id=stdio
        -object chardev-mux-controller,id=mux,backend=stdio
        -object chardev-mux,id=serial-chardev,controller=mux
        -object chardev-mux,id=mon-chardev,controller=mux
        -serial chardev:serial-chardev
        -monitor chardev:mon-chardev
I don't think these "mux" chardevs plugged to a "mux-controller"
actually exist, at least today. You can directly plug serial and monitor
to a mux chardev that sits on top of stdio.

Yes, you're right. There's 2 CharBackends plugged into a single mux Chardev.

This is basically what I meant when I said your QOM conversion and my
QAPIfication work aren't conflicting (conceptually), but addressing
separate problems.

Fair enough, I think I understand what you mean now. And I can't really argue with the diffstat and the usage of aliases to clean up dash vs. underscores.

Paolo




reply via email to

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