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
File | Mode | Size |
---|---|---|
Makefile.objs | -rw-r--r-- | 144 bytes |
json-lexer.c | -rw-r--r-- | 9.7 KB |
json-parser.c | -rw-r--r-- | 14.7 KB |
json-streamer.c | -rw-r--r-- | 3.6 KB |
qbool.c | -rw-r--r-- | 1.3 KB |
qdict.c | -rw-r--r-- | 28.5 KB |
qjson.c | -rw-r--r-- | 6.5 KB |
qlist.c | -rw-r--r-- | 4.0 KB |
qlit.c | -rw-r--r-- | 2.1 KB |
qnull.c | -rw-r--r-- | 592 bytes |
qnum.c | -rw-r--r-- | 6.1 KB |
qobject.c | -rw-r--r-- | 1.5 KB |
qstring.c | -rw-r--r-- | 3.3 KB |
Computing file changes ...