summaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-01-19 13:08:28 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:43:57 -0600
commit14d45e44a18ac61cc3d8ddb3c563e9bd301f91d2 (patch)
tree86e09069c92ac335b93b8056224e5d37783add91 /exec.c
parentd60d2acb06e29f493bbcf8774786bee9c06f29fd (diff)
downloadhqemu-14d45e44a18ac61cc3d8ddb3c563e9bd301f91d2.zip
hqemu-14d45e44a18ac61cc3d8ddb3c563e9bd301f91d2.tar.gz
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.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/exec.c b/exec.c
index 79954e3..c5f459f 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);
}
OpenPOWER on IntegriCloud