serial: add "chardev" property
commitff22c588f474c6799015365d25548ab845a4f5cd
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 21 Oct 2019 22:32:57 +0000 (22 00:32 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Jan 2020 12:50:48 +0000 (7 16:50 +0400)
tree367dc18d036604443e92edebdd2cd50da34ee920
parent4cc017e505df7e5344e4dfe7fc17711117c5f11f
serial: add "chardev" property

This is more QOM-friendly, callers may set/get the property themself.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/serial.c