Re: [PATCH 1/2] chardev: implement backend chardev multiplexing

2024-09-18 Thread Roman Penyaev
Hi, Thanks for the review, I will try to come up with the next version of this series. On Wed, Sep 18, 2024 at 12:52 PM Marc-André Lureau wrote: [cut] > > > Indeed, this double commas stuff is weird, I don't know that "trick". Is it > used elsewhere and documented? I don't see a test in test-qe

Re: [PATCH 1/2] chardev: implement backend chardev multiplexing

2024-09-18 Thread Marc-André Lureau
Hi On Tue, Sep 17, 2024 at 6:17 PM Roman Penyaev wrote: > Hi Marc-André, > > On Tue, Sep 17, 2024 at 2:31 PM Marc-André Lureau > wrote: > > > > Hi Roman > > > > On Fri, Sep 13, 2024 at 8:37 PM Roman Penyaev > wrote: > > > > > > This patch implements multiplexing capability of several backend >

Re: [PATCH 1/2] chardev: implement backend chardev multiplexing

2024-09-17 Thread Roman Penyaev
Hi Marc-André, On Tue, Sep 17, 2024 at 2:31 PM Marc-André Lureau wrote: > > Hi Roman > > On Fri, Sep 13, 2024 at 8:37 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

Re: [PATCH 1/2] chardev: implement backend chardev multiplexing

2024-09-17 Thread Peter Maydell
On Tue, 17 Sept 2024 at 13:40, Peter Maydell wrote: > > On Tue, 17 Sept 2024 at 13:32, Marc-André Lureau > wrote: > > > > Hi Roman > > > > On Fri, Sep 13, 2024 at 8:37 PM Roman Penyaev wrote: > > > > > > This patch implements multiplexing capability of several backend > > > devices, which opens

Re: [PATCH 1/2] chardev: implement backend chardev multiplexing

2024-09-17 Thread Peter Maydell
On Tue, 17 Sept 2024 at 13:32, Marc-André Lureau wrote: > > Hi Roman > > On Fri, Sep 13, 2024 at 8:37 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 1/2] chardev: implement backend chardev multiplexing

2024-09-17 Thread Marc-André Lureau
Hi Roman On Fri, Sep 13, 2024 at 8:37 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

[PATCH 1/2] chardev: implement backend chardev multiplexing

2024-09-13 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