On 22/09/2016 07:37, Pavel Dovgalyuk wrote: >> > I mean that (if I understand correctly) raw images are corrupted if you >> > don't use -snapshot (the record overwrites them, and the replay reads >> > overwritten data). > I tried running record/replay with raw image. Record finished without an > error, > but replay couldn't start, because there was no snapshot to load. > I think the solution is checking savevm return code and exiting if snapshot > cannot be created.
Yep, good idea. Paolo