aboutsummaryrefslogtreecommitdiff
path: root/include/migration
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-04-24 13:51:10 +0200
committerJuan Quintela <quintela@redhat.com>2017-06-13 11:00:45 +0200
commitb7722747e4df3d3fe5e3a212974fa4ec01968edd (patch)
tree9aba255784be68d24602ac283028b4f3d2ac8b24 /include/migration
parentf2a8f0a6314cad6b1d5b4ac03b71bf7ebebff733 (diff)
migration: Move dump_vmsate_json_to_file() to misc.h
It was not from vmstate.c to start with. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Diffstat (limited to 'include/migration')
-rw-r--r--include/migration/misc.h4
-rw-r--r--include/migration/vmstate.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/include/migration/misc.h b/include/migration/misc.h
index 60486d4066..026b561601 100644
--- a/include/migration/misc.h
+++ b/include/migration/misc.h
@@ -36,4 +36,8 @@ int64_t self_announce_delay(int round)
return 50 + (SELF_ANNOUNCE_ROUNDS - round - 1) * 100;
}
+/* migration/savevm.c */
+
+void dump_vmstate_json_to_file(FILE *out_fp);
+
#endif
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 9ad4ba1a9b..79a4b350a8 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -1003,8 +1003,6 @@ void vmstate_register_ram(struct MemoryRegion *memory, DeviceState *dev);
void vmstate_unregister_ram(struct MemoryRegion *memory, DeviceState *dev);
void vmstate_register_ram_global(struct MemoryRegion *memory);
-void dump_vmstate_json_to_file(FILE *out_fp);
-
bool vmstate_check_only_migratable(const VMStateDescription *vmsd);
#endif