Message ID | 1374783499-2550-9-git-send-email-lilei@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
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; }
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com> --- savevm.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)