hw/char: add goldfish-tty
commit8c6df16ff6080365642b0583514dd03d6a7729d6
authorLaurent Vivier <laurent@vivier.eu>
Fri, 12 Mar 2021 21:41:41 +0000 (12 22:41 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 15 Mar 2021 20:02:03 +0000 (15 21:02 +0100)
tree618d99f863c80a6c207369230ec71a06521d1247
parente7c6a8cf9f5c82aa152273e1c9e80d07b1b0c32c
hw/char: add goldfish-tty

Implement the goldfish tty device as defined in

https://android.googlesource.com/platform/external/qemu/+/master/docs/GOLDFISH-VIRTUAL-HARDWARE.TXT

and based on the kernel driver code:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/tty/goldfish.c

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210312214145.2936082-2-laurent@vivier.eu>
hw/char/Kconfig
hw/char/goldfish_tty.c [new file with mode: 0644]
hw/char/meson.build
hw/char/trace-events
include/hw/char/goldfish_tty.h [new file with mode: 0644]