qemu-e2k/softmmu
Zenghui Yu 1370d61ae3 memory: Skip dirty tracking for un-migratable memory regions
It makes no sense to track dirty pages for those un-migratable memory
regions (e.g., Memory BAR region of the VFIO PCI device) and doing so
will potentially lead to some unpleasant issues during migration [1].

Skip dirty tracking for those regions by evaluating if the region is
migratable before setting dirty_log_mask (DIRTY_MEMORY_MIGRATION).

[1] https://lists.gnu.org/archive/html/qemu-devel/2020-11/msg03757.html

Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Message-Id: <20201116132210.1730-1-yuzenghui@huawei.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-11-16 13:22:25 -05:00
..
arch_init.c
balloon.c qapi: Restrict balloon-related commands to machine code 2020-09-29 15:41:35 +02:00
bootdevice.c softmmu: move more files to softmmu/ 2020-10-12 11:50:21 -04:00
cpu-throttle.c qemu/atomic.h: rename atomic_ to qatomic_ 2020-09-23 16:07:44 +01:00
cpu-timers.c cpus: prepare new CpusAccel cpu accelerator interface 2020-10-05 16:41:22 +02:00
cpus.c qapi: Restrict 'inject-nmi' command to machine code 2020-10-21 05:00:44 +02:00
device_tree.c softmmu: move more files to softmmu/ 2020-10-12 11:50:21 -04:00
dma-helpers.c softmmu: move more files to softmmu/ 2020-10-12 11:50:21 -04:00
icount.c icount: rename functions to be consistent with the module name 2020-10-05 16:41:22 +02:00
ioport.c softmmu: Add missing trace-events file 2020-09-09 17:15:18 +01:00
main.c
memory_mapping.c
memory.c memory: Skip dirty tracking for un-migratable memory regions 2020-11-16 13:22:25 -05:00
meson.build exec: split out non-softmmu-specific parts 2020-10-12 11:50:22 -04:00
physmem.c nomaintainer: Fix Lesser GPL version number 2020-11-15 17:04:40 +01:00
qdev-monitor.c nomaintainer: Fix Lesser GPL version number 2020-11-15 17:04:40 +01:00
qemu-seccomp.c softmmu: move more files to softmmu/ 2020-10-12 11:50:21 -04:00
qtest.c module: silence errors for module_load_qom_all(). 2020-10-15 10:43:48 +02:00
timers-state.h cpu-timers, icount: new modules 2020-10-05 16:41:22 +02:00
tpm.c softmmu: move more files to softmmu/ 2020-10-12 11:50:21 -04:00
trace-events softmmu: Add missing trace-events file 2020-09-09 17:15:18 +01:00
trace.h softmmu: Add missing trace-events file 2020-09-09 17:15:18 +01:00
vl.c Tracing pull request 2020-11-11 19:53:15 +00:00