On 2 November 2015 at 08:24, Paolo Bonzini <[email protected]> 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 <[email protected]> > Cc: Peter Maydell <[email protected]> > Fixes: 0a1c71cec63e95f9b8d0dc96d049d2daa00c5210 > Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Peter Maydell <[email protected]> This is how I expected the memory listener API to work when I wrote the exec.c change, anyway :-) thanks -- PMM
