Re: [PATCH v3 06/33] serial: initial qom-ification

2019-10-24 Thread Marc-André Lureau
On Wed, Oct 23, 2019 at 9:06 PM Marc-André Lureau wrote: > > 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 chang

[PATCH v3 06/33] serial: initial qom-ification

2019-10-23 Thread Marc-André Lureau
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 Ser