tcg: fix dirty bitmap race with MTTCG
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | memory: remove memory_region_test_and_clear_dirtyinclude/ memory.c | +3 | 1 reply | |
| 2/4 | memory: hide memory_region_sync_dirty_bitmap behind DirtyBitmapSnapshothw/ hw/ hw/ +6 more | +20 | 1 reply | |
| 3/4 | memory: introduce memory_global_after_dirty_log_syncexec.c include/ memory.c +1 more | +53 | 1 reply | |
| 4/4 | memory: unify loops to sync dirty log bitmapmemory.c | +2 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/4] tcg: fix dirty bitmap race with MTTCG
This is a race that can happen when migrating TCG guests under load. It was introduced by the change to run vCPUs outside the big QEMU lock.
Paolo Bonzini (4):
memory: remove memory_region_test_and_clear_dirty
memory: hide memory_region_sync_dirty_bitmap behind
DirtyBitmapSnapshot
memory: introduce memory_global_after_dirty_log_sync
memory: unify loops to sync dirty log bitmap
exec.c | 31 ++++++++++++++++++ hw/display/cg3.c | 1 - hw/display/exynos4210_fimd.c | 1 - hw/display/framebuffer.c | 1 - hw/display/g364fb.c | 1 - hw/display/sm501.c | 1 - hw/display/tcx.c | 2 -- hw/display/vga.c | 6 ---- include/exec/memory.h | 47 +++++++++------------------ memory.c | 76 +++++++++++++++++--------------------------- migration/ram.c | 1 + 11 files changed, 76 insertions(+), 92 deletions(-)
Signature · 1 line
2.14.3