|
From: | Paolo Bonzini |
Subject: | Re: [PATCH 3/4] qom: Remove user-creatable objects from user emulation |
Date: | Fri, 4 Feb 2022 17:56:45 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |