Re: [PATCH] qom/object: Display more helpful message when an interface is missing

2020-01-20 Thread Cornelia Huck
On Sat, 18 Jan 2020 17:23:48 +0100 Philippe Mathieu-Daudé wrote: > When adding new devices implementing QOM interfaces, we might > forgot to add the Kconfig dependency that pulls the required > objects in when building. > > Since QOM dependencies are resolved at runtime, we don't get any > link-

Re: [PATCH] qom/object: Display more helpful message when an interface is missing

2020-01-18 Thread Paolo Bonzini
On 18/01/20 17:23, Philippe Mathieu-Daudé wrote: > When adding new devices implementing QOM interfaces, we might > forgot to add the Kconfig dependency that pulls the required > objects in when building. > > Since QOM dependencies are resolved at runtime, we don't get any > link-time failures, and

[PATCH] qom/object: Display more helpful message when an interface is missing

2020-01-18 Thread Philippe Mathieu-Daudé
When adding new devices implementing QOM interfaces, we might forgot to add the Kconfig dependency that pulls the required objects in when building. Since QOM dependencies are resolved at runtime, we don't get any link-time failures, and QEMU aborts while starting: $ qemu ... Segmentation fau