[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 07/10] Introduce cirros-minios-stubdom-hvm test
On Sat, 25 Mar 2017, Géza Gémes wrote: > 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> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> > --- > tests/cirros-minios-stubdom-hvm | 27 +++++++++++++++++++++++++++ > tests/series | 1 + > 2 files changed, 28 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..43dc568 > --- /dev/null > +++ b/tests/cirros-minios-stubdom-hvm > @@ -0,0 +1,27 @@ > +#!/usr/bin/env bash > + > +set -e > + > +function cirros-minios-stubdom-hvm-cleanup() { > + tear_down_cirros_test $testdir > +} > + > +function cirros-minios-stubdom-hvm-test() { > + download_cirros_components > + testdir=`mktemp -d` > + cp $CIRROS_DOWNLOADS/$CIRROS_DISK_FILE $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 |