diff options
author | Peter Xu <peterx@redhat.com> | 2017-06-27 12:10:19 +0800 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-06-28 11:18:39 +0200 |
commit | 9d18af93b39544a829f398c9e0cfd0e6ae7deb13 (patch) | |
tree | 7d6e41f1b9879ead0dcbdb8f488dfc4a9a739dec /include | |
parent | 4ffdb337e74f9a4dae97ea0396d4e1a3dbb13723 (diff) |
migration: hmp: dump globals
Now we have some globals that can be configured for migration. Dump them
in HMP info migration for better debugging.
(we can also use this to monitor whether COMPAT fields are applied
correctly on compatible machines)
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1498536619-14548-11-git-send-email-peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/migration/misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/migration/misc.h b/include/migration/misc.h index 854c28d9d3..22551216bb 100644 --- a/include/migration/misc.h +++ b/include/migration/misc.h @@ -54,5 +54,6 @@ bool migration_has_failed(MigrationState *); /* ...and after the device transmission */ bool migration_in_postcopy_after_devices(MigrationState *); void migration_only_migratable_set(void); +void migration_global_dump(Monitor *mon); #endif |