From: Ian Jackson Subject: Re: [OSSTEST PATCH V2] More Debian HVM testcases Date: Thu, 24 Apr 2014 16:10:32 +0100 Message-ID: <21337.10600.519493.481826@mariner.uk.xensource.com> References: <1398351506-15076-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398351506-15076-1-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Wei Liu writes ("[OSSTEST PATCH V2] More Debian HVM testcases"): > ts-debain-hvm-install was written to work as general HVM testcase. It > can be tuned to easily use another BIOS other than OVMF. > > Modify make-flight and friends to create more Debian HVM 64bit testcases > to run with SeaBIOS and ROMBIOS. Thanks. > + if [ "x$qemuu_suffix" == "x-qemuu" ]; then > + # QEMU upstream supports ovmf and seabios > + job_create_test test-$xenarch$kern-$dom0arch-xl$qemuu_suffix-ovmf-amd64 \ > + test-debianhvm xl $xenarch $dom0arch $qemuu_runvar \ > + debianhvm_image=debian-7.2.0-amd64-CD-1.iso \ > + bios=ovmf \ > + all_hostflags=$most_hostflags,hvm > + > + job_create_test test-$xenarch$kern-$dom0arch-xl$qemuu_suffix-debianhvm-amd64 \ > + test-debianhvm xl $xenarch $dom0arch $qemuu_runvar \ > + debianhvm_image=debian-7.2.0-amd64-CD-1.iso \ > + bios=seabios \ > + all_hostflags=$most_hostflags,hvm > + else > + # QEMU traditional supports rombios > + job_create_test test-$xenarch$kern-$dom0arch-xl$qemuu_suffix-debianhvm-amd64 \ > + test-debianhvm xl $xenarch $dom0arch $qemuu_runvar \ > + debianhvm_image=debian-7.2.0-amd64-CD-1.iso \ > + bios=rombios \ > + all_hostflags=$most_hostflags,hvm > + fi There's a lot of repetition here, which I think ought to be abstracted away. But by and large this looks good. The changes to ts-debianhvm-install and sg-run-job seem fine to me. Ian.