On Mon, Mar 02, 2020 at 06:42:18PM +0000, Peter Maydell wrote:
> On Mon, 2 Mar 2020 at 18:19, Philippe Mathieu-Daudé <[email protected]> wrote:
> > Without verifying the code base/commits, my understanding is that was
> > required to use cpu object with linux-user before Markus added support
> > for anonymous object container for QOM objects on linux-user. So now we
> > could make CPUClass inherits of DeviceClass.
>
> CPUClass already does inherit from DeviceClass...
When CPUClass::reset was created, it didn't. See commit
dd83b06ae61c ("qom: Introduce CPU class").
The "historical legacy" hypothesis seems accurate.
--
Eduardo