Re: [libvirt] [PATCH 6/7] tests: qemuxml2xml: Add modern example of status XML to the test
On 03/02/2018 11:56 AM, Peter Krempa wrote: > Signed-off-by: Peter Krempa> --- > tests/qemustatusxml2xmldata/modern-in.xml | 443 > + > tests/qemustatusxml2xmldata/modern-out.xml | 443 > + > tests/qemuxml2xmltest.c| 1 + > 3 files changed, 887 insertions(+) > create mode 100644 tests/qemustatusxml2xmldata/modern-in.xml > create mode 100644 tests/qemustatusxml2xmldata/modern-out.xml > "modern" as of "today"... Of course I don't have a better suggestion for a name. Is it possible to print more of the qemuDomainObjPrivateXMLFormat data? I think only "namespaces", "lockstate", "jobs", and "fakereboot" are missing - you capture jobs on the subsequent patch. Not sure lockstate would be easy. John -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
[libvirt] [PATCH 6/7] tests: qemuxml2xml: Add modern example of status XML to the test
Signed-off-by: Peter Krempa--- tests/qemustatusxml2xmldata/modern-in.xml | 443 + tests/qemustatusxml2xmldata/modern-out.xml | 443 + tests/qemuxml2xmltest.c| 1 + 3 files changed, 887 insertions(+) create mode 100644 tests/qemustatusxml2xmldata/modern-in.xml create mode 100644 tests/qemustatusxml2xmldata/modern-out.xml diff --git a/tests/qemustatusxml2xmldata/modern-in.xml b/tests/qemustatusxml2xmldata/modern-in.xml new file mode 100644 index 00..be12da7314 --- /dev/null +++ b/tests/qemustatusxml2xmldata/modern-in.xml @@ -0,0 +1,443 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +upstream +dcf47dbd-46d1-4d5b-b442-262a806a333a +1024000 +1024000 + + + +8 + + + + + /machine + + + hvm + + + + + + + + + + + + + + + + + + +destroy +restart +restart + + + + + + /usr/bin/qemu-system-x86_64 + + + + + + + + base.qcow2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +/dev/random + + + + + + +0:+0 + +0:+0 + + + diff --git a/tests/qemustatusxml2xmldata/modern-out.xml b/tests/qemustatusxml2xmldata/modern-out.xml new file mode 100644 index 00..be12da7314 --- /dev/null +++ b/tests/qemustatusxml2xmldata/modern-out.xml @@ -0,0 +1,443 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +