[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: QEMU 6.2.0: Segfault while calling address_space_init from emulated
From: |
Peter Maydell |
Subject: |
Re: QEMU 6.2.0: Segfault while calling address_space_init from emulated device |
Date: |
Tue, 17 May 2022 08:40:21 +0100 |
On Tue, 17 May 2022 at 04:39, Karthik Poduval <karthik.poduval@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