]> xenbits.xensource.com Git - xenclient/ioemu.git/commitdiff
merge fixup: ram_save_live return value
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 27 Oct 2008 12:07:28 +0000 (12:07 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 27 Oct 2008 12:07:28 +0000 (12:07 +0000)
ram_save_live should return 1 for saving to work.

vl.c

diff --git a/vl.c b/vl.c
index bdddb600225a55ec558141500b3f45539582e55d..d72acac3d2e8ea6157196a6f816c24a45b9860fd 100644 (file)
--- 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 */