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

- From: Elliot Berman \<hidden\>
- Date: 2022-08-03 21:15:50 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2022/08/8208360
- Thread: https://ratatoskr.run/linux-arm-kernel/2022/08/8208280/t.md

```text


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 <redacted>
>> ---
>>   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
>>
>
```
