From: Hyman Huang <yong.hu...@smartx.com> v4: 1. split the [PATCH v3 1/6] into smaller patches. 2. refine some comment and commit message 3. fix race issue for the throttle_dirty_sync_timer 4. refine the util function cpu_throttle_dirty_sync_timer
Thanks Peter for the suggestions. Please review. Yong v3: 1. drop the responsive throttle patchset 2. rename background sync to periodic ramblock dirty sync 3. move the cpu-throttle.* from system to migration 4. remove "rs" parameter in migration_bitmap_sync_precopy 5. implement periodic ramblock dirty sync in cpu-throttle.c 6. move the test change into a separate patch To simplify the cover letter, i have dropped the test data, please refer to https://lore.kernel.org/qemu-devel/cover.1727630000.git.yong.hu...@smartx.com/ for more test details. Thanks Peter and Fabiano for the suggestions and comments. Please review. Yong Hyman Huang (6): accel/tcg/icount-common: Remove the reference to the unused header file migration: Stop CPU throttling conditionally migration: Move cpu-throttole.c from system to migration migration: Remove "rs" parameter in migration_bitmap_sync_precopy migration: Support periodic RAMBlock dirty bitmap sync tests/migration: Add case for periodic ramblock dirty sync accel/tcg/icount-common.c | 1 - {system => migration}/cpu-throttle.c | 67 +++++++++++++++++++- {include/sysemu => migration}/cpu-throttle.h | 14 ++++ migration/meson.build | 1 + migration/migration.c | 23 +++++-- migration/migration.h | 1 + migration/ram.c | 13 ++-- migration/trace-events | 4 ++ system/cpu-timers.c | 3 - system/meson.build | 1 - system/trace-events | 3 - tests/qtest/migration-test.c | 32 ++++++++++ 12 files changed, 143 insertions(+), 20 deletions(-) rename {system => migration}/cpu-throttle.c (67%) rename {include/sysemu => migration}/cpu-throttle.h (87%) -- 2.27.0