From: Hyman Huang <yong.huang@smartx.com>
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.huang@smartx.com/
for more test details.
Thanks Peter and Fabiano for the suggestions and comments.
Please review.
Yong
Hyman Huang (4):
migration: Move cpu-throttole.c from system to migration
migration: Remove "rs" parameter in migration_bitmap_sync_precopy
migration: Support periodic ramblock dirty sync
tests/migration: Add case for periodic ramblock dirty sync
accel/tcg/icount-common.c | 1 -
{system => migration}/cpu-throttle.c | 72 +++++++++++++++++++-
{include/sysemu => migration}/cpu-throttle.h | 14 ++++
migration/meson.build | 1 +
migration/migration.c | 11 ++-
migration/migration.h | 1 +
migration/ram.c | 20 ++++--
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, 144 insertions(+), 19 deletions(-)
rename {system => migration}/cpu-throttle.c (65%)
rename {include/sysemu => migration}/cpu-throttle.h (87%)
--
2.27.0