[libvirt] [PATCH 1/2] storage: Switch to new def on pool-destroy

2012-06-25 Thread Michal Privoznik
Currently, we share the idea of old new def with domains. Users can *-edit an object (domain, pool) which spawns a new internal representation for them. This is referenced via {domainObj,poolObj}-newDef [compared to -def]. However, for pool we were never overwriting def with newDef. This must be

Re: [libvirt] [PATCH 1/2] storage: Switch to new def on pool-destroy

2012-06-25 Thread Daniel P. Berrange
On Mon, Jun 25, 2012 at 12:32:47PM +0200, Michal Privoznik wrote: Currently, we share the idea of old new def with domains. Users can *-edit an object (domain, pool) which spawns a new internal representation for them. This is referenced via {domainObj,poolObj}-newDef [compared to -def].

Re: [libvirt] [PATCH 1/2] storage: Switch to new def on pool-destroy

2012-06-25 Thread Michal Privoznik
On 25.06.2012 12:36, Daniel P. Berrange wrote: On Mon, Jun 25, 2012 at 12:32:47PM +0200, Michal Privoznik wrote: Currently, we share the idea of old new def with domains. Users can *-edit an object (domain, pool) which spawns a new internal representation for them. This is referenced via

Re: [libvirt] [PATCH 1/2] storage: Switch to new def on pool-destroy

2012-06-25 Thread Dave Allan
On Mon, Jun 25, 2012 at 01:13:48PM +0200, Michal Privoznik wrote: On 25.06.2012 12:36, Daniel P. Berrange wrote: On Mon, Jun 25, 2012 at 12:32:47PM +0200, Michal Privoznik wrote: Currently, we share the idea of old new def with domains. Users can *-edit an object (domain, pool) which