From 3fbf12c0221dc94d34b4325ce289ddafe9fa8c16 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 27 Oct 2008 12:07:28 +0000 Subject: [PATCH] merge fixup: ram_save_live return value ram_save_live should return 1 for saving to work. --- vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vl.c b/vl.c index bdddb6002..d72acac3d 100644 --- a/vl.c +++ b/vl.c @@ -7376,7 +7376,7 @@ void do_info_snapshots(void) /* ram save/restore */ #ifdef CONFIG_DM -static int ram_save_live(QEMUFile *f, int stage, void *opaque) { return 0; } +static int ram_save_live(QEMUFile *f, int stage, void *opaque) { return 1; } static int ram_load(QEMUFile *f, void *opaque, int version_id) { return 0; } #else /* !CONFIG_DM */ -- 2.39.5