From 945123a554c39b68f38cec87403de1f783a86906 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 19 Jan 2016 13:08:28 +0100 Subject: cpu: cpu_save/cpu_load is no more Everything has been converted to vmstate. Signed-off-by: Paolo Bonzini Signed-off-by: Michael Tokarev --- exec.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'exec.c') diff --git a/exec.c b/exec.c index 7d67c11601..ca7f8df909 100644 --- a/exec.c +++ b/exec.c @@ -661,12 +661,6 @@ void cpu_exec_init(CPUState *cpu, Error **errp) if (qdev_get_vmsd(DEVICE(cpu)) == NULL) { vmstate_register(NULL, cpu_index, &vmstate_cpu_common, cpu); } -#if defined(CPU_SAVE_VERSION) && !defined(CONFIG_USER_ONLY) - register_savevm(NULL, "cpu", cpu_index, CPU_SAVE_VERSION, - cpu_save, cpu_load, cpu->env_ptr); - assert(cc->vmsd == NULL); - assert(qdev_get_vmsd(DEVICE(cpu)) == NULL); -#endif if (cc->vmsd != NULL) { vmstate_register(NULL, cpu_index, cc->vmsd, cpu); } -- cgit v1.2.3