Re: [PATCH 2/2] qom: Improve error message in module_object_class_by_name()

2021-07-21 Thread Claudio Fontana
On 7/21/21 11:34 AM, Daniel P. Berrangé wrote: > On Tue, Jul 20, 2021 at 07:31:20PM -0300, Jose R. Ziviani wrote: >> module_object_class_by_name() calls module_load_qom_one if the object >> is provided by a dynamically linked library. Such library might not be >> available at this moment - for inst

Re: [PATCH 2/2] qom: Improve error message in module_object_class_by_name()

2021-07-21 Thread Daniel P . Berrangé
On Tue, Jul 20, 2021 at 07:31:20PM -0300, Jose R. Ziviani wrote: > module_object_class_by_name() calls module_load_qom_one if the object > is provided by a dynamically linked library. Such library might not be > available at this moment - for instance, it can be a package not yet > installed. Thus,

Re: [PATCH 2/2] qom: Improve error message in module_object_class_by_name()

2021-07-21 Thread Claudio Fontana
On 7/21/21 12:31 AM, Jose R. Ziviani wrote: > module_object_class_by_name() calls module_load_qom_one if the object > is provided by a dynamically linked library. Such library might not be > available at this moment - for instance, it can be a package not yet > installed. Thus, instead of assert er

[PATCH 2/2] qom: Improve error message in module_object_class_by_name()

2021-07-20 Thread Jose R. Ziviani
module_object_class_by_name() calls module_load_qom_one if the object is provided by a dynamically linked library. Such library might not be available at this moment - for instance, it can be a package not yet installed. Thus, instead of assert error messages, this patch outputs more friendly messa