On 04/12/2012 10:15 AM, Paolo Bonzini wrote:
Il 12/04/2012 15:58, Andreas Färber ha scritto:
The big clash that Paolo and I had turned out to stem from tackling two
virtually inconsolable goals, both under the banner of "realize":
I think the code was similar enough that the goals are not
unreconcilable (though QOM goals can certainly become sad if they aren't
achieved in a few years :).
1) Me and Peter need a way to do two-stage construction of non-qdev
objects. Inlining the below code into lots of machine init functions is
a really bad suggestion IMO.
FWIW, I agree.
I don't think machines should be objects.
Chipsets should be QOM objects. What the machines currently do does not map
well to modeling as an object.
Regards,
Anthony Liguori