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 |
---|---|---|
Makefile.objs | -rw-r--r-- | 102 bytes |
container.c | -rw-r--r-- | 1.1 KB |
cpu.c | -rw-r--r-- | 13.3 KB |
object.c | -rw-r--r-- | 60.5 KB |
object_interfaces.c | -rw-r--r-- | 5.0 KB |
qom-qobject.c | -rw-r--r-- | 1.2 KB |
trace-events | -rw-r--r-- | 339 bytes |
Computing file changes ...