]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Add qemuxml2argv tests for PPC64 pseries machine
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 13 Jan 2012 03:39:25 +0000 (14:39 +1100)
committerEric Blake <eblake@redhat.com>
Fri, 13 Jan 2012 23:10:43 +0000 (16:10 -0700)
commit4b942fe8606ec46451ee07f9c2c3cc23399bf9a7
tree1d869950922d7e611e3ded55b8cc342269c89762
parent69dde2e6538f99edca3c8738e1d72e5179829632
tests: Add qemuxml2argv tests for PPC64 pseries machine

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@ellerman.id.au>
tests/qemuxml2argvdata/qemuxml2argv-pseries-basic.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pseries-basic.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pseries-vio-address-clash.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pseries-vio-address-clash.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pseries-vio-user-assigned.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pseries-vio-user-assigned.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pseries-vio.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pseries-vio.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c