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

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



On 10/21/25 16:27, Marc-André Lureau wrote:
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.>>
Isn't it

- backend -> host adapter
- frontend -> implementation used by guest

The frontend is whatever talks to the backend. From QEMU's point of view it's the CharFrontend (which consists of a Chardev*, i.e. the backend, and some data identifying a specific frontend), from the user it could be /dev/hvc0 or whatever.

Sort of, but I think it's too restrictive to name them after "host"
and "guest", as they also have different purposes than strictly VM
components/side usage.

I believe talking about backend and frontend is usually the preferred
convention.
Yes, I agree.

Paolo




 


Rackspace

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