mirror of https://github.com/xqemu/xqemu.git
migration: print features as on off
Once there, do one thing for line Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com>
This commit is contained in:
parent
741d4086c8
commit
6f0f642835
|
@ -2366,10 +2366,15 @@ void migration_global_dump(Monitor *mon)
|
||||||
{
|
{
|
||||||
MigrationState *ms = migrate_get_current();
|
MigrationState *ms = migrate_get_current();
|
||||||
|
|
||||||
monitor_printf(mon, "globals: store-global-state=%d, only_migratable=%d, "
|
monitor_printf(mon, "globals:\n");
|
||||||
"send-configuration=%d, send-section-footer=%d\n",
|
monitor_printf(mon, "store-global-state: %s\n",
|
||||||
ms->store_global_state, ms->only_migratable,
|
ms->store_global_state ? "on" : "off");
|
||||||
ms->send_configuration, ms->send_section_footer);
|
monitor_printf(mon, "only-migratable: %s\n",
|
||||||
|
ms->only_migratable ? "on" : "off");
|
||||||
|
monitor_printf(mon, "send-configuration: %s\n",
|
||||||
|
ms->send_configuration ? "on" : "off");
|
||||||
|
monitor_printf(mon, "send-section-footer: %s\n",
|
||||||
|
ms->send_section_footer ? "on" : "off");
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DEFINE_PROP_MIG_CAP(name, x) \
|
#define DEFINE_PROP_MIG_CAP(name, x) \
|
||||||
|
|
Loading…
Reference in New Issue