diff options
| author | Zenghui Yu <yuzenghui@huawei.com> | 2020-11-16 21:22:10 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-11-16 13:22:25 -0500 |
| commit | 1370d61ae3c9934861d2349349447605202f04e9 (patch) | |
| tree | b3806f1b4dd09986a734816267858bc6feb18d9b /scripts/decodetree.py | |
| parent | 42ccce19818e4e8fb55026f50b20d533cccc48f6 (diff) | |
| download | focaccia-qemu-1370d61ae3c9934861d2349349447605202f04e9.tar.gz focaccia-qemu-1370d61ae3c9934861d2349349447605202f04e9.zip | |
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>
Diffstat (limited to 'scripts/decodetree.py')
0 files changed, 0 insertions, 0 deletions