[libvirt] [PATCH 6/6] tests: Add qemuxml2argv tests for PPC64 pseries machine
Eric Blake
eblake at redhat.com
Tue Dec 20 23:54:40 UTC 2011
On 12/12/2011 04:39 PM, Michael Ellerman wrote:
> Add four tests of the XML -> argv handling for the PPC64 pseries machine.
>
> The first is just a basic test of a bare bones machine.
>
> The three others test various aspects of the spapr-vio address handling.
>
> It seems that currently we can't include network devices, doing so leads
> to a segfault because the network driverState is not initialised. Working
> around that leads us to the problem that the 'default' network doesn't
> exist. So for now just leave network devices out.
>
> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
> ---
> .../qemuxml2argv-pseries-basic.args | 1 +
> .../qemuxml2argv-pseries-basic.xml | 17 ++++++++
> .../qemuxml2argv-pseries-vio-address-clash.xml | 42 ++++++++++++++++++++
> .../qemuxml2argv-pseries-vio-user-assigned.args | 1 +
> .../qemuxml2argv-pseries-vio-user-assigned.xml | 42 ++++++++++++++++++++
> .../qemuxml2argvdata/qemuxml2argv-pseries-vio.args | 1 +
> .../qemuxml2argvdata/qemuxml2argv-pseries-vio.xml | 42 ++++++++++++++++++++
> tests/qemuxml2argvtest.c | 9 ++++
> 8 files changed, 155 insertions(+), 0 deletions(-)
Hmm, I got a test failure:
9) qemuxml2argvdata/qemuxml2argv-pseries-vio.xml ... FAILED
xmllint --relaxng
/home/remote/eblake/libvirt/tests/../docs/schemas/domain.rng --noout
/home/remote/eblake/libvirt/tests/qemuxml2argvdata/qemuxml2argv-pseries-vio.xml
Relax-NG validity error : Extra element devices in interleave
/home/remote/eblake/libvirt/tests/qemuxml2argvdata/qemuxml2argv-pseries-vio.xml:10:
element devices: Relax-NG validity error : Element domain failed to
validate content
/home/remote/eblake/libvirt/tests/qemuxml2argvdata/qemuxml2argv-pseries-vio.xml
fails to validate
also
119) qemuxml2argvdata/qemuxml2argv-pseries-vio-user-assigned.xml ... FAILED
173) qemuxml2argvdata/qemuxml2argv-pseries-vio-address-clash.xml ... FAILED
I'm still trying to figure out what went wrong.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111220/42616d1a/attachment-0001.sig>
More information about the libvir-list
mailing list