serial: realize the serial device
commitc9808d602813bce4fada7bf9ecc463aa779b73f7
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 21 Oct 2019 23:02:50 +0000 (22 01:02 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Jan 2020 12:50:48 +0000 (7 16:50 +0400)
treeaf4b95f690cbcd97139756bcf6e4146a8d7d24da
parent96651db423a0a25466629d35c775531f5145a66a
serial: realize the serial device

Instead of calling serial_realize_core(), use the QDev realize
callback.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/char/serial-isa.c
hw/char/serial-pci-multi.c
hw/char/serial-pci.c
hw/char/serial.c
include/hw/char/serial.h