Revision 8e8b73992c18f7a4b9aba80eca791b9c1c0267d8 authored by Paolo Bonzini on 05 March 2018, 08:18:26 UTC, committed by Michael Roth on 21 June 2018, 01:44:59 UTC
The MemoryListener is registered on address_space_memory, there is
not much to assert.  This currently works because the callback
is invoked only once when the listener is registered, but section->fv
is the _new_ FlatView, not the old one on later calls and that
would break.

This confines address_space_to_flatview to exec.c and memory.c.

Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 80d2b933f9fe3e53d4f76a45a1bc1a0175669468)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
1 parent 4992118
History
File Mode Size
libvixl
Makefile.objs -rw-r--r-- 1.1 KB
alpha.c -rw-r--r-- 79.8 KB
arm-a64.cc -rw-r--r-- 2.8 KB
arm.c -rw-r--r-- 153.9 KB
cris.c -rw-r--r-- 79.6 KB
hppa.c -rw-r--r-- 100.2 KB
i386.c -rw-r--r-- 163.9 KB
lm32.c -rw-r--r-- 12.6 KB
m68k.c -rw-r--r-- 211.6 KB
microblaze.c -rw-r--r-- 58.2 KB
mips.c -rw-r--r-- 267.1 KB
moxie.c -rw-r--r-- 12.0 KB
nios2.c -rw-r--r-- 132.0 KB
ppc.c -rw-r--r-- 237.9 KB
s390.c -rw-r--r-- 99.3 KB
sh4.c -rw-r--r-- 82.4 KB
sparc.c -rw-r--r-- 169.7 KB
tci.c -rw-r--r-- 1.8 KB

back to top