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
File | Mode | Size |
---|---|---|
translate | ||
Makefile.objs | -rw-r--r-- | 583 bytes |
arch_dump.c | -rw-r--r-- | 8.0 KB |
compat.c | -rw-r--r-- | 8.5 KB |
cpu-models.c | -rw-r--r-- | 48.9 KB |
cpu-models.h | -rw-r--r-- | 24.4 KB |
cpu-qom.h | -rw-r--r-- | 8.5 KB |
cpu.c | -rw-r--r-- | 1.6 KB |
cpu.h | -rw-r--r-- | 104.8 KB |
dfp_helper.c | -rw-r--r-- | 58.1 KB |
excp_helper.c | -rw-r--r-- | 38.3 KB |
fpu_helper.c | -rw-r--r-- | 144.0 KB |
gdbstub.c | -rw-r--r-- | 8.2 KB |
helper.h | -rw-r--r-- | 32.1 KB |
helper_regs.h | -rw-r--r-- | 6.4 KB |
int_helper.c | -rw-r--r-- | 109.3 KB |
internal.h | -rw-r--r-- | 8.4 KB |
kvm-stub.c | -rw-r--r-- | 441 bytes |
kvm.c | -rw-r--r-- | 79.7 KB |
kvm_ppc.h | -rw-r--r-- | 9.0 KB |
machine.c | -rw-r--r-- | 20.4 KB |
mem_helper.c | -rw-r--r-- | 14.1 KB |
mfrom_table.c | -rw-r--r-- | 3.3 KB |
mfrom_table_gen.c | -rw-r--r-- | 638 bytes |
misc_helper.c | -rw-r--r-- | 6.0 KB |
mmu-book3s-v3.c | -rw-r--r-- | 1.3 KB |
mmu-book3s-v3.h | -rw-r--r-- | 1.5 KB |
mmu-hash32.c | -rw-r--r-- | 16.3 KB |
mmu-hash32.h | -rw-r--r-- | 3.4 KB |
mmu-hash64.c | -rw-r--r-- | 32.1 KB |
mmu-hash64.h | -rw-r--r-- | 5.3 KB |
mmu-radix64.c | -rw-r--r-- | 10.0 KB |
mmu-radix64.h | -rw-r--r-- | 2.7 KB |
mmu_helper.c | -rw-r--r-- | 89.4 KB |
monitor.c | -rw-r--r-- | 4.2 KB |
timebase_helper.c | -rw-r--r-- | 4.8 KB |
trace-events | -rw-r--r-- | 258 bytes |
translate.c | -rw-r--r-- | 247.6 KB |
translate_init.c | -rw-r--r-- | 375.3 KB |
user_only_helper.c | -rw-r--r-- | 1.5 KB |
Computing file changes ...