diff options
Diffstat (limited to 'savevm.c')
| -rw-r--r-- | savevm.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/savevm.c b/savevm.c index 9e9c7835a0..cf79a56871 100644 --- a/savevm.c +++ b/savevm.c @@ -1647,12 +1647,8 @@ void qemu_savevm_state_cancel(Monitor *mon, QEMUFile *f) static int qemu_savevm_state(Monitor *mon, QEMUFile *f) { - int saved_vm_running; int ret; - saved_vm_running = runstate_is_running(); - vm_stop(RUN_STATE_SAVE_VM); - if (qemu_savevm_state_blocked(mon)) { ret = -EINVAL; goto out; @@ -1675,9 +1671,6 @@ out: ret = qemu_file_get_error(f); } - if (!ret && saved_vm_running) - vm_start(); - return ret; } |