Hi Peter,

I am building it from git but not directly but via Yocto Kirkstone (it
was originally designed to build via downloaded tarball archive). I
will add the --enable-werror to the build recipe.
May I ask why address_space_init should be called from device realize
and not init ?

On Tue, May 17, 2022 at 12:40 AM Peter Maydell <peter.mayd...@linaro.org> wrote:
>
> On Tue, 17 May 2022 at 04:39, Karthik Poduval <karthik.podu...@gmail.com> 
> wrote:
> > Ok digging deeper, there was a compiler warning about a missing
> > prototype of get_system_memory but I never thought it would lead to
> > this sort of an issue.
>
> If you're building QEMU from git it should default to
> "warnings are errors". If you're not, then pass configure
> --enable-werror to do that.
>
> PS: not related to your problem, but you should really do
> the address_space_init() in device realize, not init.
>
> thanks
> -- PMM



-- 
Regards,
Karthik Poduval

Reply via email to