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
coccinelle
kvm
modules
qemu-guest-agent
qemugdb
qmp
tracetool
analyse-9p-simpletrace.py -rwxr-xr-x 8.8 KB
analyze-inclusions -rw-r--r-- 3.2 KB
analyze-migration.py -rwxr-xr-x 20.2 KB
archive-source.sh -rwxr-xr-x 1.9 KB
argparse.py -rw-r--r-- 87.7 KB
check-qerror.sh -rwxr-xr-x 635 bytes
checkpatch.pl -rwxr-xr-x 73.4 KB
clean-header-guards.pl -rwxr-xr-x 6.3 KB
clean-includes -rwxr-xr-x 5.6 KB
cleanup-trace-events.pl -rwxr-xr-x 1.1 KB
cocci-macro-file.h -rw-r--r-- 4.9 KB
coverity-model.c -rw-r--r-- 8.4 KB
create_config -rwxr-xr-x 3.0 KB
device-crash-test -rwxr-xr-x 28.8 KB
disas-objdump.pl -rwxr-xr-x 2.7 KB
dump-guest-memory.py -rw-r--r-- 19.8 KB
extract-vsssdk-headers -rwxr-xr-x 937 bytes
feature_to_c.sh -rw-r--r-- 2.1 KB
get_maintainer.pl -rwxr-xr-x 53.3 KB
git-submodule.sh -rwxr-xr-x 1.9 KB
git.orderfile -rw-r--r-- 394 bytes
gtester-cat -rwxr-xr-x 476 bytes
hxtool -rw-r--r-- 1.4 KB
make-release -rwxr-xr-x 879 bytes
make_device_config.sh -rw-r--r-- 735 bytes
ordereddict.py -rw-r--r-- 4.0 KB
qapi-commands.py -rw-r--r-- 7.4 KB
qapi-event.py -rw-r--r-- 5.6 KB
qapi-introspect.py -rw-r--r-- 7.1 KB
qapi-types.py -rw-r--r-- 8.1 KB
qapi-visit.py -rw-r--r-- 10.1 KB
qapi.py -rw-r--r-- 69.8 KB
qapi2texi.py -rwxr-xr-x 8.8 KB
qemu-binfmt-conf.sh -rwxr-xr-x 10.2 KB
qemu-gdb.py -rw-r--r-- 1.2 KB
qemu.py -rw-r--r-- 10.5 KB
qtest.py -rw-r--r-- 3.1 KB
refresh-pxe-roms.sh -rwxr-xr-x 981 bytes
shaderinclude.pl -rw-r--r-- 310 bytes
show-fixed-bugs.sh -rwxr-xr-x 2.7 KB
signrom.py -rw-r--r-- 1.4 KB
simpletrace.py -rwxr-xr-x 8.4 KB
switch-timer-api -rwxr-xr-x 4.8 KB
texi2pod.pl -rwxr-xr-x 13.3 KB
tracetool.py -rwxr-xr-x 4.4 KB
update-linux-headers.sh -rwxr-xr-x 5.2 KB
vmstate-static-checker.py -rwxr-xr-x 15.4 KB

back to top