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
Makefile.objs -rw-r--r-- 275 bytes
replay-audio.c -rw-r--r-- 2.5 KB
replay-char.c -rwxr-xr-x 4.0 KB
replay-events.c -rw-r--r-- 8.2 KB
replay-input.c -rw-r--r-- 3.8 KB
replay-internal.c -rw-r--r-- 4.5 KB
replay-internal.h -rw-r--r-- 5.8 KB
replay-net.c -rw-r--r-- 2.5 KB
replay-snapshot.c -rw-r--r-- 2.4 KB
replay-time.c -rw-r--r-- 1.5 KB
replay.c -rw-r--r-- 9.0 KB

back to top