Re: [PATCH 6/6] tests: Add qemuxml2argv tests for PPC64 pseries machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
> ---
>  .../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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]