]> git.proxmox.com Git - mirror_qemu.git/blobdiff - replay/replay-snapshot.c
migration: control whether snapshots are ovewritten
[mirror_qemu.git] / replay / replay-snapshot.c
index b2893659370d141214d449c4fc6f2f1430a9f153..31c5a8702b7eab75583e4dbf98419c2b4f4587ab 100644 (file)
@@ -77,7 +77,7 @@ void replay_vmstate_init(void)
 
     if (replay_snapshot) {
         if (replay_mode == REPLAY_MODE_RECORD) {
-            if (!save_snapshot(replay_snapshot, &err)) {
+            if (!save_snapshot(replay_snapshot, true, &err)) {
                 error_report_err(err);
                 error_report("Could not create snapshot for icount record");
                 exit(1);