[libvirt] [PATCH] Domain config: write <features/> if some capabilities are set.

Cedric Bosdonnat cbosdonnat at suse.com
Wed Jul 30 12:24:22 UTC 2014


On Wed, 2014-07-30 at 12:37 +0200, Ján Tomko wrote:
> On 07/30/2014 11:25 AM, Cédric Bosdonnat wrote:
> > If all features are set to default (including the capabilities policy),
> > but some capabilities are toggled, we need to output the <features>
> > element when formatting the config.
> > ---
> >  src/conf/domain_conf.c | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> ACK.
> 
> It would be also nice to extend the tests to cover this (lxcxml2xmltest?)

Pushed with an additional lxcxml2xmltest capabilities test to cover that
case.

--
Cedric




More information about the libvir-list mailing list