diff options
Diffstat (limited to 'migration/options.c')
-rw-r--r-- | migration/options.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/migration/options.c b/migration/options.c index 0b1b56e68f..f4ffe99603 100644 --- a/migration/options.c +++ b/migration/options.c @@ -518,6 +518,13 @@ int migrate_decompress_threads(void) return s->parameters.decompress_threads; } +uint64_t migrate_downtime_limit(void) +{ + MigrationState *s = migrate_get_current(); + + return s->parameters.downtime_limit; +} + uint8_t migrate_max_cpu_throttle(void) { MigrationState *s = migrate_get_current(); |