diff options
author | Juan Quintela <quintela@redhat.com> | 2017-04-18 11:44:16 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-05-04 10:33:40 +0200 |
commit | d9c7d137c8f208fbe5b72f64eff96565e4380d8f (patch) | |
tree | da2a22b4043f4d110c187160f66488ba8c53957f /hmp.c | |
parent | 52b262051209bcf6064ca3a8bc8dbe0c04a6960d (diff) |
monitor: Move hmp_savevm from savevm.c to hmp.c
It is a monitor command, and has nothing migration specific in it.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1281,6 +1281,11 @@ void hmp_loadvm(Monitor *mon, const QDict *qdict) } } +void hmp_savevm(Monitor *mon, const QDict *qdict) +{ + save_vmstate(qdict_get_try_str(qdict, "name")); +} + void hmp_migrate_cancel(Monitor *mon, const QDict *qdict) { qmp_migrate_cancel(NULL); |