On Tue, 14 Dec 2021 at 10:26, Kevin Wolf <kw...@redhat.com> wrote: > Configuration is for creating objects, properties are for runtime after > the creation.
Well, yes and no. In a few places we have some properties which are morally speaking configuration stuff, but which are runtime settable. This happens because the property needs to be set after the device is realized but before the machine is run, and we don't have a concept of "settable only during the machine creation phase", only of "settable only before realize". (I can't find an example of this in the codebase offhand, but I definitely have one in a patchset I'm working on -- the code which needs to configure the property of the configured object is far removed in both location in the codebase and point at which it runs from the code which is doing the initialize-and-realize.) -- PMM