diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-10-21 23:32:12 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-01-07 16:50:15 +0400 |
commit | 7781b88ee458ff933459503ade0b0a6ddaad08de (patch) | |
tree | 9bbe400fc3c5d02e5b36ebb89ce4db84f2bef2f3 /qemu-bridge-helper.c | |
parent | 4305d4825c729222926ef498189e03cdccf125ae (diff) |
serial: initial qom-ification
Make SerialState a device (the following patches will introduce IO/MM
sysbus serial devices)
None of the serial_{,mm}_init() callers actually free the returned
value (even if they did, it would be quite harmless), so we can change
the object allocation at will.
However, the devices that embed SerialState must now have their field
QOM-initialized manually (isa, pci, pci-multi).
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qemu-bridge-helper.c')
0 files changed, 0 insertions, 0 deletions