diff mbox

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

Message ID 36234f32e4e0a0a8da6db9314b9616f502a06a00.1319550280.git.quintela@redhat.com
State New
Headers show

Commit Message

Juan Quintela Oct. 25, 2011, 2 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>
CC: Huacai Chen <zltjiangshi@gmail.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. */