mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
migration: Create migrate_throttle_trigger_threshold()
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
parent
6f8be7080a
commit
6499efdb16
3 changed files with 11 additions and 2 deletions
|
@ -554,6 +554,15 @@ int migrate_multifd_zstd_level(void)
|
|||
return s->parameters.multifd_zstd_level;
|
||||
}
|
||||
|
||||
uint8_t migrate_throttle_trigger_threshold(void)
|
||||
{
|
||||
MigrationState *s;
|
||||
|
||||
s = migrate_get_current();
|
||||
|
||||
return s->parameters.throttle_trigger_threshold;
|
||||
}
|
||||
|
||||
uint64_t migrate_xbzrle_cache_size(void)
|
||||
{
|
||||
MigrationState *s;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue