Re: [PATCH 18/23] conf: Avoid formatting empty <capabilities> element

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 06, 2019 at 09:20:43AM +0100, Peter Krempa wrote:
If none of the 'capabilities' features are enabled we'd still format the
opening and closing tag for the <capabilities element.

The implementation is suboptimal but will be refactored for a better
approach. This is done prior to the refactor to show that tests are not
impacted.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
src/conf/domain_conf.c                               | 9 ++++++++-
tests/lxcconf2xmldata/lxcconf2xml-blkiotune.xml      | 3 +--
tests/lxcconf2xmldata/lxcconf2xml-cpusettune.xml     | 3 +--
tests/lxcconf2xmldata/lxcconf2xml-cputune.xml        | 3 +--
tests/lxcconf2xmldata/lxcconf2xml-idmap.xml          | 3 +--
tests/lxcconf2xmldata/lxcconf2xml-macvlannetwork.xml | 3 +--
tests/lxcconf2xmldata/lxcconf2xml-memtune.xml        | 3 +--
tests/lxcconf2xmldata/lxcconf2xml-miscnetwork.xml    | 3 +--
tests/lxcconf2xmldata/lxcconf2xml-nonenetwork.xml    | 3 +--
tests/lxcconf2xmldata/lxcconf2xml-nonetwork.xml      | 3 +--
tests/lxcconf2xmldata/lxcconf2xml-physnetwork.xml    | 3 +--
tests/lxcconf2xmldata/lxcconf2xml-vlannetwork.xml    | 3 +--
12 files changed, 19 insertions(+), 23 deletions(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux