]> xenbits.xensource.com Git - libvirt.git/commit
tests: qemuxml2xml: Format status XML header dynamically
authorPeter Krempa <pkrempa@redhat.com>
Fri, 1 Jul 2016 08:30:53 +0000 (10:30 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 11 Jul 2016 08:33:33 +0000 (10:33 +0200)
commit7615917a0acec668c3e229148bda11aa3694db00
tree7f19550aa7ce5a99aecb6bcc3a40c7b0af7416bd
parent9cc931f0bbfc4529b3d07b4226af7b218624858d
tests: qemuxml2xml: Format status XML header dynamically

Status XML tests were done by prepending a constant string to an
existing XML. With the planned changes the header will depend on data
present in the definition rather than just on the data that was parsed.

The first dynamic element in the header will be the vcpu thread list.
Reuse and rename qemuXML2XMLPreFormatCallback for gathering the relevant
data when checking the active XML parsing and formating and pass the
bitmap to a newly crated header generator.
tests/qemuxml2xmltest.c