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