]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
migration: Move dump_vmsate_json_to_file() to misc.h
authorJuan Quintela <quintela@redhat.com>
Mon, 24 Apr 2017 11:51:10 +0000 (13:51 +0200)
committerJuan Quintela <quintela@redhat.com>
Tue, 13 Jun 2017 09:00:45 +0000 (11:00 +0200)
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>
include/migration/misc.h
include/migration/vmstate.h

index 60486d4066ab7aac758bd10d8127267a6360ef7a..026b5616013841bf3a8f585601e83098268cf748 100644 (file)
@@ -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
index 9ad4ba1a9b4ab5ab49cea0b5860d4f947b21fdaa..79a4b350a800f0e48ac92891e33bda59fb61962c 100644 (file)
@@ -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