Re: [libvirt] [PATCH RFC v2 4/5] conf: add caps to virDomainSaveConfig

2016-02-04 Thread Daniel P. Berrange
On Wed, Feb 03, 2016 at 09:40:36PM +, Joao Martins wrote: > virDomainSaveConfig calls virDomainDefFormat which was setting the caps > to NULL, thus keeping the old behaviour (i.e. not looking at > netprefix). This patch adds the virCapsPtr to the function and allows > the configuration to be

[libvirt] [PATCH RFC v2 4/5] conf: add caps to virDomainSaveConfig

2016-02-03 Thread Joao Martins
virDomainSaveConfig calls virDomainDefFormat which was setting the caps to NULL, thus keeping the old behaviour (i.e. not looking at netprefix). This patch adds the virCapsPtr to the function and allows the configuration to be saved and skipping interface names that were registered with