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
atomics.txt -rw-r--r-- 17.1 KB
blkdebug.txt -rw-r--r-- 5.7 KB
blkverify.txt -rw-r--r-- 3.0 KB
build-system.txt -rw-r--r-- 17.3 KB
loads-stores.rst -rw-r--r-- 11.9 KB
lockcnt.txt -rw-r--r-- 9.8 KB
memory.txt -rw-r--r-- 15.6 KB
migration.txt -rw-r--r-- 23.6 KB
multi-thread-tcg.txt -rw-r--r-- 13.6 KB
multiple-iothreads.txt -rw-r--r-- 6.4 KB
qapi-code-gen.txt -rw-r--r-- 49.0 KB
rcu.txt -rw-r--r-- 14.2 KB
tracing.txt -rw-r--r-- 15.6 KB
virtio-migration.txt -rw-r--r-- 4.0 KB
writing-qmp-commands.txt -rw-r--r-- 19.5 KB

back to top