03bfc2188f
The fastpath in cpu_physical_memory_sync_dirty_bitmap() to test large
aligned ranges forgot to bring the TCG TLB up to date after clearing
some of the dirty memory bitmap bits. This can result in stores though
the TCG TLB not setting the dirty memory bitmap and ultimately causes
memory corruption / lost updates during migration from a TCG host.
Fix this by calling cpu_physical_memory_dirty_bits_cleared() when
dirty bits have been cleared.
Fixes:
|
||
---|---|---|
.. | ||
user | ||
address-spaces.h | ||
confidential-guest-support.h | ||
cpu_ldst.h | ||
cpu-all.h | ||
cpu-common.h | ||
cpu-defs.h | ||
cputlb.h | ||
exec-all.h | ||
gdbstub.h | ||
helper-gen-common.h | ||
helper-gen.h | ||
helper-gen.h.inc | ||
helper-head.h | ||
helper-info.c.inc | ||
helper-proto-common.h | ||
helper-proto.h | ||
helper-proto.h.inc | ||
hwaddr.h | ||
ioport.h | ||
log.h | ||
memattrs.h | ||
memop.h | ||
memopidx.h | ||
memory_ldst_cached.h.inc | ||
memory_ldst_phys.h.inc | ||
memory_ldst.h.inc | ||
memory-internal.h | ||
memory.h | ||
page-vary.h | ||
plugin-gen.h | ||
poison.h | ||
ram_addr.h | ||
ramblock.h | ||
ramlist.h | ||
replay-core.h | ||
target_long.h | ||
target_page.h | ||
tb-flush.h | ||
tlb-common.h | ||
translate-all.h | ||
translation-block.h | ||
translator.h | ||
tswap.h | ||
vaddr.h |