On 2/4/22 16:29, Philippe Mathieu-Daudé via wrote:
user-mode don't use user-creatable objects. Restrict it to
sysemu / tools.

Add a stub to avoid a link failure with the global callback:

   /usr/bin/ld: libqom.fa(qom_object.c.o): in function 
`object_initialize_child_with_propsv':
   ../qom/object.c:578: undefined reference to `user_creatable_complete'
   /usr/bin/ld: libqom.fa(qom_object.c.o): in function `object_new_with_propv':
   ../qom/object.c:801: undefined reference to `user_creatable_complete'
   collect2: error: ld returned 1 exit status

Please instead move these two functions to qom/object_interfaces.c.

Paolo

Reply via email to