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
config
devel
interop
specs
spin
COLO-FT.txt -rw-r--r-- 9.9 KB
block-replication.txt -rw-r--r-- 10.2 KB
bootindex.txt -rw-r--r-- 2.4 KB
ccid.txt -rw-r--r-- 7.5 KB
colo-proxy.txt -rw-r--r-- 11.1 KB
generic-loader.txt -rw-r--r-- 4.2 KB
igd-assign.txt -rw-r--r-- 7.1 KB
image-fuzzer.txt -rw-r--r-- 9.4 KB
memory-hotplug.txt -rw-r--r-- 3.3 KB
multi-thread-compression.txt -rw-r--r-- 5.7 KB
multiseat.txt -rw-r--r-- 5.0 KB
nvdimm.txt -rw-r--r-- 4.7 KB
pci_expander_bridge.txt -rw-r--r-- 2.7 KB
pcie.txt -rw-r--r-- 14.4 KB
pcie_pci_bridge.txt -rw-r--r-- 4.4 KB
pr-manager.rst -rw-r--r-- 4.7 KB
qcow2-cache.txt -rw-r--r-- 5.7 KB
qdev-device-use.txt -rw-r--r-- 13.4 KB
qemu-block-drivers.texi -rw-r--r-- 30.0 KB
qemu_logo.pdf -rw-r--r-- 8.9 KB
qemupciserial.inf -rw-r--r-- 2.9 KB
rdma.txt -rw-r--r-- 18.0 KB
replay.txt -rw-r--r-- 11.1 KB
spice-port-fqdn.txt -rw-r--r-- 490 bytes
throttle.txt -rw-r--r-- 10.3 KB
usb-storage.txt -rw-r--r-- 2.5 KB
usb2.txt -rw-r--r-- 5.8 KB
virtio-balloon-stats.txt -rw-r--r-- 3.5 KB
xbzrle.txt -rw-r--r-- 4.8 KB
xen-save-devices-state.txt -rw-r--r-- 1000 bytes

back to top