On 13/11/2014 15:34, Markus Armbruster wrote: > - ... "bla" ... > + char *name = object_gen_new_property_name(obj, "bla"); > + ... name ... > + g_free(name); > > Not quite as mechanical, in particular finding the obj to pass to > object_gen_new_property_name(). > > Correct?
Yes (except that the obj is just qdev_get_machine()). > [*] What we want to do is drag them along until the Second Coming, when > Jesus will set everything right, which naturally includes qdevifying all > the old crap nobody wants to touch. Or maybe not. Look at the bottom: https://upload.wikimedia.org/wikipedia/commons/a/a5/Michelangelo%2C_Giudizio_Universale_02.jpg Paolo