[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 07/11] Introduce cirros-minios-stubdom-hvm test
This test verifies a cirros based hvm domain using a minios based stubdom as its device model Signed-off-by: Géza Gémes <geza.gemes@xxxxxxxxx> --- tests/cirros-minios-stubdom-hvm | 26 ++++++++++++++++++++++++++ tests/series | 1 + 2 files changed, 27 insertions(+) create mode 100644 tests/cirros-minios-stubdom-hvm diff --git a/tests/cirros-minios-stubdom-hvm b/tests/cirros-minios-stubdom-hvm new file mode 100644 index 0000000..614b487 --- /dev/null +++ b/tests/cirros-minios-stubdom-hvm @@ -0,0 +1,26 @@ +#!/usr/bin/env bash + +set -e + +function cirros-minios-stubdom-hvm-cleanup() { + tear_down_cirros_test $testdir +} + +function cirros-minios-stubdom-hvm-test() { + testdir=`mktemp -d` + set_up_cirros_disk $testdir + cat >$testdir/cirros-minios-stubdom-hvm.cfg <<EOF +name = "raisin-test" +builder = "hvm" +device_model_stubdomain_override = 1 +memory = 128 +vcpus = 2 +disk = [ '$testdir/$CIRROS_DISK_FILE,raw,hda,rw' ] +vif = [ 'bridge=xenbr1' ] +serial="pty" +boot="c" +EOF + + $SUDO xl create $testdir/cirros-minios-stubdom-hvm.cfg + check_guest_alive +} diff --git a/tests/series b/tests/series index 49a9257..7b1ad8e 100644 --- a/tests/series +++ b/tests/series @@ -5,3 +5,4 @@ cirros-separate-kernel-pv cirros-pygrub-pv cirros-pvgrub2-pv cirros-qemu-hvm +cirros-minios-stubdom-hvm -- 2.7.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |