[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]