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-- 293 bytes
channel-buffer.c -rw-r--r-- 6.9 KB
channel-command.c -rw-r--r-- 10.4 KB
channel-file.c -rw-r--r-- 6.5 KB
channel-socket.c -rw-r--r-- 21.5 KB
channel-tls.c -rw-r--r-- 11.4 KB
channel-util.c -rw-r--r-- 1.4 KB
channel-watch.c -rw-r--r-- 8.7 KB
channel-websock.c -rw-r--r-- 41.4 KB
channel.c -rw-r--r-- 13.3 KB
dns-resolver.c -rw-r--r-- 7.8 KB
task.c -rw-r--r-- 4.1 KB
trace-events -rw-r--r-- 5.1 KB

back to top