From: Ian Campbell Subject: Re: [PATCH OSSTEST v2 10/15] distros: support booting Debian PV (d-i installed) guests with pvgrub. Date: Fri, 2 May 2014 14:18:56 +0100 Message-ID: <1399036736.6043.0.camel@kazak.uk.xensource.com> References: <1398681672.29700.55.camel@kazak.uk.xensource.com> <1398681696-2773-10-git-send-email-ian.campbell@citrix.com> <21347.38788.856531.344782@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21347.38788.856531.344782@mariner.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: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, 2014-05-02 at 14:03 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST v2 10/15] distros: support booting Debian PV (d-i installed) guests with pvgrub."): > > This requires the use of the pv-grub-menu package which is in Jessie onwards. > > (it is in wheezy-backports which is the subject of a subsequent flight). > > > > The bootloader to use is specified via a runvar {Guest}_bootloader. > > > > Adjust make-distros-flight to use pvgrub for some subset of i386 and amd64 > > guests to get coverage. > > This looks reasonable to me. > > Acked-by: Ian Jackson Ta. > > - my $blcfg = < > + my $pvgrub = { > > + i386 => "/usr/local/lib/xen/boot/pv-grub-x86_32.gz", > > + amd64 => "/usr/local/lib/xen/boot/pv-grub-x86_64.gz" > > + }; > > I wonder, though, whether this knowledge about arch name mappings > could be combined with that from > ts-kernel-build:config_create_config_sh and put in Osstest.pm or > somewhere. As in some sort of Osstest::arch_params{PvGrub}, {LinuxDefconfg}, {LinuxKernelImage} ? I think so.