From d9c7d137c8f208fbe5b72f64eff96565e4380d8f Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Tue, 18 Apr 2017 11:44:16 +0200 Subject: 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 Reviewed-by: Laurent Vivier Reviewed-by: Dr. David Alan Gilbert --- migration/savevm.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'migration/savevm.c') diff --git a/migration/savevm.c b/migration/savevm.c index a89af80378..834525522a 100644 --- a/migration/savevm.c +++ b/migration/savevm.c @@ -2171,11 +2171,6 @@ int save_vmstate(const char *name) return ret; } -void hmp_savevm(Monitor *mon, const QDict *qdict) -{ - save_vmstate(qdict_get_try_str(qdict, "name")); -} - void qmp_xen_save_devices_state(const char *filename, Error **errp) { QEMUFile *f; -- cgit v1.2.3