]> git.ipfire.org Git - thirdparty/libvirt.git/commit
schema: Fix capability grammar for pagesElem
authorJohn Ferlan <jferlan@redhat.com>
Sat, 19 May 2018 11:02:47 +0000 (07:02 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 25 May 2018 13:36:42 +0000 (09:36 -0400)
commitc1a0601debfe2c84160234cf6269606f4198faa0
tree7e2ea56c79f57919449cccba7b60e13b938a8e5c
parentf97c4cc5e130ada351890a1f4f1ca65b1cf6d69d
schema: Fix capability grammar for pagesElem

https://bugzilla.redhat.com/show_bug.cgi?id=1572491

Commit id '02129b7c0' added a single pagesElem for slightly
different purposes. One usage was an output for host page size
listing and the other for NUMA supported page sizes. For the
former, only the pages unit and size are formatted, while for
the latter the pages unit, size, and availability data is formatted.

The virt-xml-validate would fail because it expected something
extra in the host page size output. So split up pagesElem a bit
and create pagesHost and pagesNuma for the differences.

Modify some capabilityschemadata output to have the output - even
though the results may not be realistic with respect to the
original incarnation of the data.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by Michal Privoznik <mprivozn@redhat.com>
docs/schemas/capability.rng
tests/capabilityschemadata/caps-test2.xml
tests/capabilityschemadata/caps-test3.xml