[PATCH v2 11/11] gunyah: Add tty console driver for RM Console Serivces

Elliot Berman quic_eberman at quicinc.com
Wed Aug 3 14:15:45 PDT 2022



On 8/2/2022 1:31 AM, Dmitry Baryshkov wrote:
> On 02/08/2022 00:12, Elliot Berman wrote:
>> Gunyah provides a console for each VM using the VM console resource
>> manager APIs. This driver allows console data from other
>> VMs to be accessed via a TTY device and exports a console device to dump
>> Linux's own logs to our console.
> 
> Is such 'console' an unidirectional stream of chars or bidirection one? 
> IOW, can I have getty on such console?
> 

Consoles are bidrectional.

>>
>> Signed-off-by: Elliot Berman <quic_eberman at quicinc.com>
>> ---
>>   Documentation/virt/gunyah/index.rst   |   7 +
>>   drivers/virt/gunyah/Kconfig           |  10 +
>>   drivers/virt/gunyah/Makefile          |   3 +
>>   drivers/virt/gunyah/rsc_mgr_console.c | 405 ++++++++++++++++++++++++++
>>   4 files changed, 425 insertions(+)
>>   create mode 100644 drivers/virt/gunyah/rsc_mgr_console.c
>>
> 



More information about the linux-arm-kernel mailing list