diff options
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1727,8 +1727,7 @@ static void do_loadvm(Monitor *mon, const char *name) vm_stop(0); - load_vmstate(mon, name); - if (saved_vm_running) + if (load_vmstate(mon, name) >= 0 && saved_vm_running) vm_start(); } |