]> xenbits.xensource.com Git - libvirt.git/commit
conf: Parse more of our nodedev XML
authorMartin Kletzander <mkletzan@redhat.com>
Sun, 3 Apr 2016 19:01:06 +0000 (21:01 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 2 May 2016 13:46:23 +0000 (15:46 +0200)
commit541f21afa609a3698908fa21a6e78bcd8dbdfcc9
tree3f3a22c3c56820ca5711b5b71ca7ee63a31b4737
parent9840761fb4d43f7379a3e2f7116420f5e5cc17df
conf: Parse more of our nodedev XML

We were lacking tests that are checking for the completeness of our
nodedev XMLs and also whether we output properly formatted ones.  This
patch adds parsing for the capability elements inside the <capability
type='pci'> element.  Also bunch of tests are added to show everything
works properly.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/conf/node_device_conf.c
tests/nodedevxml2xmltest.c