]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Switch to new def on pool-destroy
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 25 Jun 2012 09:38:17 +0000 (11:38 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 25 Jun 2012 11:03:44 +0000 (13:03 +0200)
commit803dc0a5ba31728b6c6a492c58a350a9e1ad6e59
tree322069522d31780064c87cb19a835c3fd3c90ebc
parent85ce98250e715785c5b0cffb4edd73056557a4e8
storage: Switch to new def on pool-destroy

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 done on
pool-destroy (like we do analogically in domain detroy).
src/storage/storage_driver.c