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-- 1.5 KB
aes.c -rw-r--r-- 84.0 KB
afalg.c -rw-r--r-- 2.7 KB
afalgpriv.h -rw-r--r-- 1.3 KB
afsplit.c -rw-r--r-- 4.4 KB
block-luks.c -rw-r--r-- 48.3 KB
block-luks.h -rw-r--r-- 959 bytes
block-qcow.c -rw-r--r-- 5.7 KB
block-qcow.h -rw-r--r-- 973 bytes
block.c -rw-r--r-- 7.9 KB
blockpriv.h -rw-r--r-- 3.2 KB
cipher-afalg.c -rw-r--r-- 6.3 KB
cipher-builtin.c -rw-r--r-- 15.3 KB
cipher-gcrypt.c -rw-r--r-- 11.1 KB
cipher-nettle.c -rw-r--r-- 17.1 KB
cipher.c -rw-r--r-- 6.5 KB
cipherpriv.h -rw-r--r-- 1.4 KB
desrfb.c -rw-r--r-- 14.9 KB
hash-afalg.c -rw-r--r-- 5.6 KB
hash-gcrypt.c -rw-r--r-- 3.1 KB
hash-glib.c -rw-r--r-- 2.8 KB
hash-nettle.c -rw-r--r-- 5.0 KB
hash.c -rw-r--r-- 4.3 KB
hashpriv.h -rw-r--r-- 884 bytes
hmac-gcrypt.c -rw-r--r-- 3.8 KB
hmac-glib.c -rw-r--r-- 3.8 KB
hmac-nettle.c -rw-r--r-- 5.3 KB
hmac.c -rw-r--r-- 3.0 KB
hmacpriv.h -rw-r--r-- 1.2 KB
init.c -rw-r--r-- 3.9 KB
ivgen-essiv.c -rw-r--r-- 3.5 KB
ivgen-essiv.h -rw-r--r-- 954 bytes
ivgen-plain.c -rw-r--r-- 1.8 KB
ivgen-plain.h -rw-r--r-- 954 bytes
ivgen-plain64.c -rw-r--r-- 1.8 KB
ivgen-plain64.h -rw-r--r-- 964 bytes
ivgen.c -rw-r--r-- 2.6 KB
ivgenpriv.h -rw-r--r-- 1.4 KB
pbkdf-gcrypt.c -rw-r--r-- 2.8 KB
pbkdf-nettle.c -rw-r--r-- 3.9 KB
pbkdf-stub.c -rw-r--r-- 1.5 KB
pbkdf.c -rw-r--r-- 3.3 KB
random-gcrypt.c -rw-r--r-- 1.1 KB
random-gnutls.c -rw-r--r-- 1.3 KB
random-platform.c -rw-r--r-- 2.5 KB
secret.c -rw-r--r-- 13.5 KB
tlscreds.c -rw-r--r-- 7.8 KB
tlscredsanon.c -rw-r--r-- 5.7 KB
tlscredspriv.h -rw-r--r-- 1.4 KB
tlscredsx509.c -rw-r--r-- 26.3 KB
tlssession.c -rw-r--r-- 16.0 KB
trace-events -rw-r--r-- 1.6 KB
xts.c -rw-r--r-- 5.9 KB

back to top