[pve-devel] kvm disk template implementation ideas
    Alexandre DERUMIER 
    aderumier at odiso.com
       
    Thu Aug 23 17:20:33 CEST 2012
    
    
  
>>
>>Note: The current config is lost when you rollback. 
>>
>>Do you think that is a problem? 
Why do we lost current config ?
can we have something like this
config file
----------
activeconfig: root|snap1|snap2
[root]
mem: 1024
[snap1]
mem: 256
parent : root
[snap2]
mem: 512
parent: snap1
[snap3]
mem:128
parent: snap1
just update the activeconfig when rollbacking ?
----- Mail original ----- 
De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Jeudi 23 Août 2012 16:59:23 
Objet: RE: [pve-devel] kvm disk template implementation ideas 
> ok, so we need child->parent to maintain the tree view. 
> 
> So when we rollback, we need to update a value to know on which snapshot 
> we are running. 
yes, you update the current config (on top of the file). 
> Also need to update child->parent pointer when we delete an intermediate 
> snapshot. 
also inside the current config. 
Note: The current config is lost when you rollback. 
Do you think that is a problem? 
-- 
-- 
	
Alexandre D e rumier 
Ingénieur Systèmes et Réseaux 
Fixe : 03 20 68 88 85 
Fax : 03 20 68 90 88 
45 Bvd du Général Leclerc 59100 Roubaix 
12 rue Marivaux 75002 Paris 
    
    
More information about the pve-devel
mailing list