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-- 261 bytes
cryptodev-builtin.c -rw-r--r-- 11.9 KB
cryptodev.c -rw-r--r-- 7.0 KB
hostmem-file.c -rw-r--r-- 4.6 KB
hostmem-ram.c -rw-r--r-- 1.3 KB
hostmem.c -rw-r--r-- 12.5 KB
rng-egd.c -rw-r--r-- 4.1 KB
rng-random.c -rw-r--r-- 3.6 KB
rng.c -rw-r--r-- 3.4 KB
tpm.c -rw-r--r-- 4.8 KB

back to top