From: Wei Liu Subject: Re: [PATCH RFC 3/5] Introduce ts-ovmf-debian-install Date: Tue, 10 Dec 2013 17:41:01 +0000 Message-ID: <20131210174101.GP32155@zion.uk.xensource.com> References: <1386695976-24340-1-git-send-email-wei.liu2@citrix.com> <1386695976-24340-4-git-send-email-wei.liu2@citrix.com> <21159.20377.541596.321870@mariner.uk.xensource.com> <21159.20448.487185.402092@mariner.uk.xensource.com> <20131210173625.GN32155@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20131210173625.GN32155@zion.uk.xensource.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: Ian Jackson Cc: Wei Liu , ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Dec 10, 2013 at 05:36:25PM +0000, Wei Liu wrote: > On Tue, Dec 10, 2013 at 05:31:12PM +0000, Ian Jackson wrote: > > Ian Jackson writes ("Re: [PATCH RFC 3/5] Introduce ts-ovmf-debian-install"): > > > Wei Liu writes ("[PATCH RFC 3/5] Introduce ts-ovmf-debian-install"): > > > > This is OVMF guest test case. It resembles ts-redhat-install: > > > > 1. prepare a auto install CD > > > > 2. install OVMF guest > > > > 3. test if the guets is up > > > > > > This seems to duplicate an awful lot of the preseed generation from > > > Osstest::Debian::preseed_create. > > > > > > I'm afraid you'll need to refactor this to remove the duplication. > > > This might well involve a code-motion-only pre-patch. > > > > Also, how much does this differ from a hypothetical > > ts-debian-hvm-install ? > > > > 1. preseed files are different > 2. vanilla debian hvm installation won't need to manipulate ISO > Was wrong on the second one. I actually meant vanilla debian manipulates ISO in slightly different way. Wei. > > Perhaps the answer is to have a ts-debian-hvm-install and control the > > use of ovmf with a runvar. > > > > Are those two easy to implement with runvars? > > Wei. > > > Ian.