From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: ian.jackson@eu.citrix.com, Wei Liu <wei.liu2@citrix.com>,
ian.campbell@citrix.com
Subject: [PATCH OSSTEST v2 11/13] make-flight: debian hvm tests with libvirt
Date: Sun, 12 Jul 2015 17:20:34 +0100 [thread overview]
Message-ID: <1436718036-7985-12-git-send-email-wei.liu2@citrix.com> (raw)
In-Reply-To: <1436718036-7985-1-git-send-email-wei.liu2@citrix.com>
Since upstream QEMU is the default, that's what libvirt is using. We
generate test case to test libvirt with upstream QEMU.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
---
make-flight | 29 +++++++++++++++++++----------
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/make-flight b/make-flight
index c763ce9..96c6fe5 100755
--- a/make-flight
+++ b/make-flight
@@ -96,7 +96,9 @@ job_create_test_filter_callback () {
*)
case "$job" in
*-qemuu-*)
- if [ "x$toolstack" != xxl ]; then return 1; fi
+ if [ x$toolstack != xxl -a x$toolstack != xlibvirt ];then
+ return 1;
+ fi
;;
esac
;;
@@ -215,16 +217,17 @@ do_hvm_debian_test_one () {
bios=$2
xsm=$3
stubdom=$4
+ toolstack=$5
stubdom_suffix=""
stubdom_runvar=""
- if [ x$stubdom != x ]; then
+ if [ x$stubdom = xtrue ]; then
stubdom_suffix="-stubdom"
stubdom_runvar="debianhvm_stubdom=$stubdom"
fi
- job_create_test test-$xenarch$kern-$dom0arch-xl$qemuu_suffix$stubdom_suffix-$testname-amd64\
- test-debianhvm xl $xenarch $dom0arch $qemuu_runvar \
+ job_create_test test-$xenarch$kern-$dom0arch-$toolstack$qemuu_suffix$stubdom_suffix-$testname-amd64\
+ test-debianhvm $toolstack $xenarch $dom0arch $qemuu_runvar \
enable_xsm=$xsm \
$stubdom_runvar \
debianhvm_image=debian-7.2.0-amd64-CD-1.iso \
@@ -239,20 +242,26 @@ do_hvm_debian_tests() {
return
fi
- # QEMU upstream supports ovmf and seabios
+ # QEMU upstream supports
+ # 1. ovmf + xl
+ # 2. seabios + xl
+ # 3. seabios + libvirt
if [ "x$qemuu_suffix" == "x-qemuu" ]; then
- do_hvm_debian_test_one ovmf ovmf false
+ do_hvm_debian_test_one ovmf ovmf false false xl
for xsm in $xsms ; do
- do_hvm_debian_test_one debianhvm seabios $xsm
+ for toolstack in xl libvirt; do
+ do_hvm_debian_test_one debianhvm seabios $xsm false $toolstack
+ done
done
fi
# QEMU traditional supports rombios and stubdom
+ # Only test xl with QEMU traditional
if [ "x$qemuu_suffix" == "x-qemut" ]; then
for xsm in $xsms ; do
- do_hvm_debian_test_one debianhvm rombios $xsm
- if [ x$xsm = xtrue ]; then
- do_hvm_debian_test_one debianhvm rombios $xsm true
+ do_hvm_debian_test_one debianhvm rombios $xsm false xl
+ if [ x$xsm = xtrue -a x$toolstack = xxl ]; then
+ do_hvm_debian_test_one debianhvm rombios $xsm true xl
fi
done
fi
--
1.9.1
next prev parent reply other threads:[~2015-07-12 16:45 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-12 16:20 [PATCH OSSTEST v2 00/13] Libvirt migration and HVM tests Wei Liu
2015-07-12 16:20 ` [PATCH OSSTEST v2 01/13] toolstack: save / restore check Wei Liu
2015-07-13 11:09 ` Ian Campbell
2015-07-12 16:20 ` [PATCH OSSTEST v2 02/13] Introduce ts-saverestore-support-check Wei Liu
2015-07-12 16:20 ` [PATCH OSSTEST v2 03/13] osstest migrate support check catch -> variables Wei Liu
2015-07-13 11:14 ` Ian Campbell
2015-07-21 16:32 ` Ian Jackson
2015-07-21 17:12 ` Wei Liu
2015-07-21 17:36 ` Ian Jackson
2015-07-22 9:44 ` Ian Campbell
2015-07-12 16:20 ` [PATCH OSSTEST v2 04/13] toolstack: distinguish local and remote migration support Wei Liu
2015-07-13 11:19 ` Ian Campbell
2015-07-12 16:20 ` [PATCH OSSTEST v2 05/13] sg-run-job: remove save/restore dependency on local " Wei Liu
2015-07-13 11:22 ` Ian Campbell
2015-07-12 16:20 ` [PATCH OSSTEST v2 06/13] toolstack/libvirt: guest migrate, save and restore support Wei Liu
2015-07-13 11:23 ` Ian Campbell
2015-07-21 16:17 ` Wei Liu
2015-07-12 16:20 ` [PATCH OSSTEST v2 07/13] ts-xen-build-prep: install ebtables Wei Liu
2015-07-12 16:20 ` [PATCH OSSTEST v2 08/13] ts-libvirt-build: run libvirt test suite Wei Liu
2015-07-13 11:25 ` Ian Campbell
2015-07-21 16:22 ` Wei Liu
2015-07-21 16:33 ` Ian Campbell
2015-07-12 16:20 ` [PATCH OSSTEST v2 09/13] ts-debian-hvm-install: stub out libvirt + ovmf / rombios Wei Liu
2015-07-13 11:27 ` Ian Campbell
2015-07-21 16:24 ` Wei Liu
2015-07-12 16:20 ` [PATCH OSSTEST v2 10/13] TestSupport: don't put kernel='hvmloader' in HVM config Wei Liu
2015-07-13 11:28 ` Ian Campbell
2015-07-13 11:34 ` Ian Campbell
2015-07-12 16:20 ` Wei Liu [this message]
2015-07-13 11:33 ` [PATCH OSSTEST v2 11/13] make-flight: debian hvm tests with libvirt Ian Campbell
2015-07-13 13:12 ` Wei Liu
2015-07-12 16:20 ` [PATCH OSSTEST v2 12/13] make-flight, mfi-common: rename onetoolstack to pairtoolstack Wei Liu
2015-07-12 16:20 ` [PATCH OSSTEST v2 13/13] make-flight, mfi-common: create live migration test for libvirt Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436718036-7985-12-git-send-email-wei.liu2@citrix.com \
--to=wei.liu2@citrix.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).