Signed-off-by: Lei Li <li...@linux.vnet.ibm.com>
---
 savevm.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/savevm.c b/savevm.c
index c183369..e826f64 100644
--- a/savevm.c
+++ b/savevm.c
@@ -1484,7 +1484,8 @@ int register_savevm_live(DeviceState *dev,
     se->vmsd = NULL;
     se->no_migrate = 0;
     /* if this is a live_savem then set is_ram */
-    if (ops->save_live_setup != NULL) {
+    if ((ops->save_live_setup != NULL)
+         || (ops->save_local_setup != NULL)) {
         se->is_ram = 1;
     }
 
-- 
1.7.7.6


Reply via email to