diff mbox

[18/28] mips_fulong2e: cpu vmstate already registered in cpu_exec_init

Message ID a36e80c6298c24c38adc66bce2d4668d388889e8.1319658750.git.quintela@redhat.com
State New
Headers show

Commit Message

Juan Quintela Oct. 26, 2011, 8:16 p.m. UTC
This is the second place that register cpu migration code, it is done
in general in cpu_exec_init(), just remove this call.

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/mips_fulong2e.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/hw/mips_fulong2e.c b/hw/mips_fulong2e.c
index 04921c1..d96b7dc 100644
--- a/hw/mips_fulong2e.c
+++ b/hw/mips_fulong2e.c
@@ -281,7 +281,6 @@  static void mips_fulong2e_init(ram_addr_t ram_size, const char *boot_device,
         exit(1);
     }

-    register_savevm(NULL, "cpu", 0, 3, cpu_save, cpu_load, env);
     qemu_register_reset(main_cpu_reset, env);

     /* fulong 2e has 256M ram. */