Re: [PATCH v4 6/8] chardev/char-mux: implement backend chardev multiplexing

2025-01-17 Thread Kevin Wolf
Am 17.01.2025 um 09:03 hat Roman Penyaev geschrieben: > On Thu, Jan 16, 2025 at 12:27 PM Kevin Wolf wrote: > > Whatever you choose to do, my one request for you would be that you > > really make sure that CLI and QMP are structured and behave exactly the > > same with your new option, to avoid mak

Re: [PATCH v4 6/8] chardev/char-mux: implement backend chardev multiplexing

2025-01-17 Thread Roman Penyaev
Hi Kevin, On Thu, Jan 16, 2025 at 12:27 PM Kevin Wolf wrote: > > Am 17.12.2024 um 11:32 hat Roman Penyaev geschrieben: > > Hi Markus, > > > > Thanks for the explicit info. But I have a lot to ask :) > > Do I understand correctly that there are two ways to parse > > arguments: classic, via qemu_op

Re: [PATCH v4 6/8] chardev/char-mux: implement backend chardev multiplexing

2025-01-16 Thread Kevin Wolf
Am 17.12.2024 um 11:32 hat Roman Penyaev geschrieben: > Hi Markus, > > Thanks for the explicit info. But I have a lot to ask :) > Do I understand correctly that there are two ways to parse > arguments: classic, via qemu_opts_parse_noisily() and modern, via > qobject_input_visitor_new_str()? (for e

Re: [PATCH v4 6/8] chardev/char-mux: implement backend chardev multiplexing

2024-12-19 Thread Markus Armbruster
Roman Penyaev writes: > Hi Markus, > > Thanks for the explicit info. But I have a lot to ask :) > Do I understand correctly that there are two ways to parse > arguments: classic, via qemu_opts_parse_noisily() and modern, via > qobject_input_visitor_new_str()? Three, to be honest: * QemuOpts, co

Re: [PATCH v4 6/8] chardev/char-mux: implement backend chardev multiplexing

2024-12-17 Thread Roman Penyaev
Hi Markus, Thanks for the explicit info. But I have a lot to ask :) Do I understand correctly that there are two ways to parse arguments: classic, via qemu_opts_parse_noisily() and modern, via qobject_input_visitor_new_str()? (for example, I look in net/net.c, netdev_parse_modern()). My goal is no

Re: [PATCH v4 6/8] chardev/char-mux: implement backend chardev multiplexing

2024-12-11 Thread Markus Armbruster
I'm awfully, awfully late. My apologies! Marc-André Lureau writes: > Hi > > On Wed, Oct 16, 2024 at 2:29 PM Roman Penyaev wrote: > >> This patch implements multiplexing capability of several backend >> devices, which opens up an opportunity to use a single frontend >> device on the guest, which

Re: [PATCH v4 6/8] chardev/char-mux: implement backend chardev multiplexing

2024-11-20 Thread Roman Penyaev
Hi all, Just a quick reminder about the patchset I sent a while back for the `mux-be-id` property. I’d really like to move forward with the mux-be implementation, but I’m still not sure what the best approach would be. Any feedback and comments would be appreciated. Thanks. -- Roman On Wed, Oct

Re: [PATCH v4 6/8] chardev/char-mux: implement backend chardev multiplexing

2024-10-16 Thread Roman Penyaev
Hi, On Wed, Oct 16, 2024 at 1:14 PM Marc-André Lureau wrote: > > Hi > > On Wed, Oct 16, 2024 at 2:29 PM Roman Penyaev wrote: >> >> This patch implements multiplexing capability of several backend >> devices, which opens up an opportunity to use a single frontend >> device on the guest, which can

Re: [PATCH v4 6/8] chardev/char-mux: implement backend chardev multiplexing

2024-10-16 Thread Marc-André Lureau
Hi On Wed, Oct 16, 2024 at 3:13 PM Marc-André Lureau < marcandre.lur...@gmail.com> wrote: > Hi > > On Wed, Oct 16, 2024 at 2:29 PM Roman Penyaev wrote: > >> This patch implements multiplexing capability of several backend >> devices, which opens up an opportunity to use a single frontend >> devi

Re: [PATCH v4 6/8] chardev/char-mux: implement backend chardev multiplexing

2024-10-16 Thread Marc-André Lureau
Hi On Wed, Oct 16, 2024 at 2:29 PM Roman Penyaev wrote: > This patch implements multiplexing capability of several backend > devices, which opens up an opportunity to use a single frontend > device on the guest, which can be manipulated from several > backend devices. > > The idea of the change

[PATCH v4 6/8] chardev/char-mux: implement backend chardev multiplexing

2024-10-16 Thread Roman Penyaev
This patch implements multiplexing capability of several backend devices, which opens up an opportunity to use a single frontend device on the guest, which can be manipulated from several backend devices. The idea of the change is trivial: keep list of backend devices (up to 4), init them on deman