mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
migration: Create migrate_cpu_throttle_tailslow() function
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
parent
9605c2ac28
commit
873f674c55
3 changed files with 11 additions and 2 deletions
|
@ -527,6 +527,15 @@ uint8_t migrate_cpu_throttle_initial(void)
|
|||
return s->parameters.cpu_throttle_initial;
|
||||
}
|
||||
|
||||
bool migrate_cpu_throttle_tailslow(void)
|
||||
{
|
||||
MigrationState *s;
|
||||
|
||||
s = migrate_get_current();
|
||||
|
||||
return s->parameters.cpu_throttle_tailslow;
|
||||
}
|
||||
|
||||
int migrate_decompress_threads(void)
|
||||
{
|
||||
MigrationState *s;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue