chardev: Extract system emulation specific code
commit30827bad3852fd85d86995e7ccab429679442889
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 23 Apr 2020 20:21:10 +0000 (23 22:21 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 13 Jul 2020 07:59:47 +0000 (13 11:59 +0400)
tree0f1243b62b48618dbbf04ec9145ea59e1314fb9b
parentffa0f7eb57f3fbb4947e5bf12040108481ea46c3
chardev: Extract system emulation specific code

Split out code only used during system emulation,
to reduce code pulled in user emulation and tools.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200423202112.644-6-philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
chardev/Makefile.objs
chardev/char.c
chardev/chardev-internal.h
chardev/chardev-sysemu.c [copied from chardev/chardev-internal.h with 50% similarity]