From 97ab12d46622d239b439e77d3c193cd775a37984 Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Fri, 25 Jun 2010 11:09:50 -0600 Subject: savevm: Migrate RAM based on name/offset Synchronize RAM blocks with the target and migrate using name/offset pairs. This ensures both source and target have the same view of RAM and that we get the right bits into the right slot. Signed-off-by: Alex Williamson Signed-off-by: Anthony Liguori --- vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vl.c') diff --git a/vl.c b/vl.c index 4a1c5f4fa3..8a5de9fac1 100644 --- a/vl.c +++ b/vl.c @@ -2794,7 +2794,7 @@ int main(int argc, char **argv, char **envp) if (qemu_opts_foreach(&qemu_drive_opts, drive_init_func, &machine->use_scsi, 1) != 0) exit(1); - register_savevm_live(NULL, "ram", 0, 3, NULL, ram_save_live, NULL, + register_savevm_live(NULL, "ram", 0, 4, NULL, ram_save_live, NULL, ram_load, NULL); if (nb_numa_nodes > 0) { -- cgit v1.2.3