From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [RFC V7 3/3] xl snapshot-xxx Design Date: Wed, 29 Oct 2014 10:19:01 +0000 Message-ID: <1414577941.29975.5.camel@citrix.com> References: <1412930928-14309-1-git-send-email-cyliu@suse.com> <1412930928-14309-4-git-send-email-cyliu@suse.com> <1413823182.29506.16.camel@citrix.com> <545116830200006600074115@soto.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <545116830200006600074115@soto.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chun Yan Liu Cc: Ian.Jackson@citrix.com, Jim Fehlig , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2014-10-29 at 02:32 -0600, Chun Yan Liu wrote: > >> > > >> > 4. xl snapshot-xxx implementation details > >> > >> How do these interact with xl create/destroy/shutdown/save/restore? > >> > >> e.g. does destroying a domain remove any snapshots? > > > > Since in xl domain is deleted when destroyed/shutdown/save, no state > > like previously in xend, created but not started, deleted only when issue > > 'delete' command. > > > > I don't think clearly now about: > > how to handle snapshots when destroy/shutdown/save/migrate a domain. > > In theory, if a domain is deleted, the snapshots should all be deleted. > > But this way, I don't know how much value this operation can bring to users. > > Those snapshot are still usable. One can start a new domain from a snapshot. > > There is memory state (can restore memory, restore config) and disk > > snapshot (can restore disk status). > > > > Do you have any suggestions? > > As described above, is there any suggestions? I'm afraid not, it all depends on the usecases I suppose. Ian.