qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 30/41] migration: Move dump_vmsate_json_to_file() to


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 30/41] migration: Move dump_vmsate_json_to_file() to misc.h
Date: Wed, 26 Apr 2017 00:04:40 +0200

It was not from vmstate.c to start with.

Signed-off-by: Juan Quintela <address@hidden>
---
 include/migration/misc.h    | 4 ++++
 include/migration/vmstate.h | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/migration/misc.h b/include/migration/misc.h
index 45ef9c9..21a9182 100644
--- a/include/migration/misc.h
+++ b/include/migration/misc.h
@@ -32,4 +32,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 afa43ac..5811804 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -986,8 +986,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_device_is_migratable(const VMStateDescription *vmsd);
 
 #endif
-- 
2.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]