From: Ian Jackson Subject: Re: [PATCH OSSTEST v2 10/15] distros: support booting Debian PV (d-i installed) guests with pvgrub. Date: Fri, 2 May 2014 14:03:00 +0100 Message-ID: <21347.38788.856531.344782@mariner.uk.xensource.com> References: <1398681672.29700.55.camel@kazak.uk.xensource.com> <1398681696-2773-10-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398681696-2773-10-git-send-email-ian.campbell@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: Ian Campbell Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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 > - 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. Ian.