diff options
Diffstat (limited to 'migration/migration.c')
-rw-r--r-- | migration/migration.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/migration/migration.c b/migration/migration.c index 2b179c69fa..68afc07016 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -1297,6 +1297,15 @@ void qmp_migrate_set_downtime(double value, Error **errp) qmp_migrate_set_parameters(&p, errp); } +bool migrate_release_ram(void) +{ + MigrationState *s; + + s = migrate_get_current(); + + return s->enabled_capabilities[MIGRATION_CAPABILITY_RELEASE_RAM]; +} + bool migrate_postcopy_ram(void) { MigrationState *s; |