qemu/include/migration
Juan Quintela e1fde0e038 migration: Move rate_limit_max and rate_limit_used to migration_stats
These way we can make them atomic and use this functions from any
place.  I also moved all functions that use rate_limit to
migration-stats.

Functions got renamed, they are not qemu_file anymore.

qemu_file_rate_limit -> migration_rate_exceeded
qemu_file_set_rate_limit -> migration_rate_set
qemu_file_get_rate_limit -> migration_rate_get
qemu_file_reset_rate_limit -> migration_rate_reset
qemu_file_acct_rate_limit -> migration_rate_account.

Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20230515195709.63843-6-quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2023-05-18 18:40:51 +02:00
..
blocker.h migration: Add migrate_add_blocker_internal() 2021-11-01 22:56:44 +01:00
colo.h migration: process_incoming_migration_co(): move colo part to colo 2023-05-18 18:40:51 +02:00
cpu.h Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
failover.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
global_state.h Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
misc.h migration: move migration_global_dump() to migration-hmp-cmds.c 2023-04-24 15:01:46 +02:00
qemu-file-types.h migration: Move rate_limit_max and rate_limit_used to migration_stats 2023-05-18 18:40:51 +02:00
register.h migration: Rename res_{postcopy,precopy}_only 2023-02-15 20:04:30 +01:00
snapshot.h migration: introduce a delete_snapshot wrapper 2021-02-08 11:19:51 +00:00
vmstate.h migration: Add canary to VMSTATE_END_OF_LIST 2023-02-06 19:22:56 +01:00