From: Ian Jackson Subject: Re: [PATCH RFC V2 4/6] Introduce ts-ovmf-debian-install Date: Thu, 12 Dec 2013 16:23:28 +0000 Message-ID: <21161.58112.472895.653586@mariner.uk.xensource.com> References: <1386778305-29995-1-git-send-email-wei.liu2@citrix.com> <1386778305-29995-5-git-send-email-wei.liu2@citrix.com> <21161.55562.149154.992806@mariner.uk.xensource.com> <20131212155153.GE21900@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20131212155153.GE21900@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: Wei Liu Cc: ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Wei Liu writes ("Re: [PATCH RFC V2 4/6] Introduce ts-ovmf-debian-install"): > The comment on preseed file makes sense to me. > > My main question is wether you're suggesting I factor out a script call > ts-hvm-install then calls it from ts-redhat-install and > ts-debian-hvm-install? No, I think you should probably make additional perl functions in TestSupport.pm and/or Debian.pm. Doing this as a separate script is going to be very tricky because you will want to specify complicated things as its arguments (for example, perhaps you will want some of the common code to take coderefs as hook-style callbacks). Ian.