On 2 November 2015 at 08:24, Paolo Bonzini <pbonz...@redhat.com> wrote: > This ensures that cpu_reload_memory_map() is called as soon as > tcg_cpu_address_space_init() is called, and before cpu->memory_dispatch > is used. qemu-system-s390x never changes the address spaces after > tcg_cpu_address_space_init() is called, and thus tcg_commit() is never > called. This causes a SIGSEGV. > > Reported-by: Philipp Kern <pk...@debian.org> > Cc: Peter Maydell <peter.mayd...@linaro.org> > Fixes: 0a1c71cec63e95f9b8d0dc96d049d2daa00c5210 > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> This is how I expected the memory listener API to work when I wrote the exec.c change, anyway :-) thanks -- PMM