On Tue, Jun 24, 2014 at 11:30:04PM +0100, Peter Maydell wrote:
> On 24 June 2014 18:55, Eduardo Habkost <ehabk...@redhat.com> wrote:
> > On Tue, Jun 24, 2014 at 05:47:53PM +0100, Peter Maydell wrote:
> >> What if different machines in a particular release had the
> >> property set to different defaults?
> >
> > I never saw that happen, and I don't think it is even likely: default
> > values set in instance_init, and compat_props are applied just after
> > instance_init, before object_new() returns. So a machine-type would need
> > to find a way to change fields after instance_init but before
> > compat_props are applied.
> 
> OK, yes, that's not going to happen. I had thought they were
> applied at the same point as -global settings.

They are. -global settings are also set just after instance_init, and
before object_new() returns. Internally, compat_props are translated to
global properties.

-- 
Eduardo

Reply via email to