[Libvir] Proposal: libvirt should remove or rename a save file after a successful restore

John Levon levon at movementarian.org
Mon Jul 2 15:48:26 UTC 2007


On Mon, Jul 02, 2007 at 04:38:48PM +0100, Richard W.M. Jones wrote:

> So the obvious and simple solution, it seems to me, is just to change 
> libvirt.c:virDomainRestore so that if the driver underneath it returns 
> from the restore without error, then we either remove or rename the 
> restore file.
> 
> It's a trivial patch -- what do people think?

This is not correct as it assumes that the filesystem(s) cannot be rolled
back to the state corresponding to that known by the saved domain.

regards
john




More information about the libvir-list mailing list