diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-01-19 13:08:28 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-02-11 15:15:46 +0300 |
commit | 945123a554c39b68f38cec87403de1f783a86906 (patch) | |
tree | 337fec2d2033790098ddbf88ce093672922658e3 /exec.c | |
parent | b29b47e9b35017428904e0e934700877dfaabe73 (diff) |
cpu: cpu_save/cpu_load is no more
Everything has been converted to vmstate.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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); } |