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>
This commit is contained in:
parent
f2a8f0a631
commit
b7722747e4
|
@ -36,4 +36,8 @@ int64_t self_announce_delay(int round)
|
||||||
return 50 + (SELF_ANNOUNCE_ROUNDS - round - 1) * 100;
|
return 50 + (SELF_ANNOUNCE_ROUNDS - round - 1) * 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* migration/savevm.c */
|
||||||
|
|
||||||
|
void dump_vmstate_json_to_file(FILE *out_fp);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1003,8 +1003,6 @@ void vmstate_register_ram(struct MemoryRegion *memory, DeviceState *dev);
|
||||||
void vmstate_unregister_ram(struct MemoryRegion *memory, DeviceState *dev);
|
void vmstate_unregister_ram(struct MemoryRegion *memory, DeviceState *dev);
|
||||||
void vmstate_register_ram_global(struct MemoryRegion *memory);
|
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);
|
bool vmstate_check_only_migratable(const VMStateDescription *vmsd);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue