Signed-off-by: Lei Li <li...@linux.vnet.ibm.com>
---
 arch_init.c                 |    1 +
 include/migration/vmstate.h |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch_init.c b/arch_init.c
index 7eeb52f..5c25005 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -973,6 +973,7 @@ SaveVMHandlers savevm_ram_handlers = {
     .save_live_iterate = ram_save_iterate,
     .save_live_complete = ram_save_complete,
     .save_live_pending = ram_save_pending,
+    .save_local_setup = ram_save_local,
     .load_state = ram_load,
     .cancel = ram_migration_cancel,
 };
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index acf847b..c534254 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -53,6 +53,8 @@ typedef struct SaveVMHandlers {
     int (*save_live_setup)(QEMUFile *f, void *opaque);
     uint64_t (*save_live_pending)(QEMUFile *f, void *opaque, uint64_t 
max_size);
 
+    int (*save_local_setup)(QEMUFile *f, void *opaque);
+
     LoadStateHandler *load_state;
 } SaveVMHandlers;
 
-- 
1.7.7.6


Reply via email to