diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-20 19:42:21 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 20:30:20 -0500 |
commit | c8d41b2c2906f31181e9e5d479b76066a700a983 (patch) | |
tree | e5e258b12b0d5bfe5cab97f12ca15124aebe1b3e /savevm.c | |
parent | 7b63034926351c58643a7e365581f719c70d6e8c (diff) |
move do_loadvm() to monitor.c
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'savevm.c')
-rw-r--r-- | savevm.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -1239,17 +1239,6 @@ void load_vmstate(Monitor *mon, const char *name) } } -void do_loadvm(Monitor *mon, const char *name) -{ - int saved_vm_running = vm_running; - - vm_stop(0); - - load_vmstate(mon, name); - if (saved_vm_running) - vm_start(); -} - void do_delvm(Monitor *mon, const char *name) { DriveInfo *dinfo; |