Re: [libvirt] [PATCH] conf: Fix virDomainObjGetDefs when getting persistent config on a live vm

2015-06-15 Thread Peter Krempa
On Fri, Jun 12, 2015 at 14:41:03 +0200, Peter Krempa wrote: > If @flags contains only VIR_DOMAIN_AFFECT_CONFIG and @vm is active, the > function would return the active config rather than the persistent one > that it should return. This happened due to the fact that > virDomainObjGetDefs was checki

[libvirt] [PATCH] conf: Fix virDomainObjGetDefs when getting persistent config on a live vm

2015-06-12 Thread Peter Krempa
If @flags contains only VIR_DOMAIN_AFFECT_CONFIG and @vm is active, the function would return the active config rather than the persistent one that it should return. This happened due to the fact that virDomainObjGetDefs was checking the updated flags which may not contain VIR_DOMAIN_AFFECT_LIVE if