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

Re: [PATCH] char: rename CharBackend->CharFrontend



Hi

On Tue, Oct 21, 2025 at 5:52 PM Dr. David Alan Gilbert <dave@xxxxxxxxxxx> wrote:
>
> * Peter Maydell (peter.maydell@xxxxxxxxxx) wrote:
> > Marc-André Lureau <marcandre.lureau@xxxxxxxxxx> wrote:
> > > The actual backend is "Chardev", CharBackend is the frontend side of it,
> > > let's rename it for readability.
> >
> > I always thought the "frontend" was the device the guest
> > saw (the 16650 UART or whatever). invocation.html has bits
> > talking about "virtio hvc console frontend device" which
> > seem like they also use that terminology.
> >
> > If we want to clean up the naming it might be helpful to have
> > a comment somewhere documenting the different components and
> > what names we give them and how they fit together (or even
> > better, something in docs/devel/...)
>
> Or something more descriptive like 'CharGuestSide'

If we are talking about the Chardev frontend or user, that's too
restrictive. We have generic stream handling code (think
mux/hub/tests/client/server etc) that do not fit that usage naming.


-- 
Marc-André Lureau



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.