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 16:40:17 +0100 Message-ID: <21347.48225.816163.864702@mariner.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> <1399036736.6043.0.camel@kazak.uk.xensource.com> <21347.43296.425850.404335@mariner.uk.xensource.com> <1399044146.18944.12.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1399044146.18944.12.camel@kazak.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 Campbell Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH OSSTEST v2 10/15] distros: support booting Debian PV (d-i installed) guests with pvgrub."): > On Fri, 2014-05-02 at 15:18 +0100, Ian Jackson wrote: > > our %arch_xen2debian; > > $arch_xen2debian{$arch_debian2xen{$_}} = $_ foreach keys %arch_debian2xen; > > Wowza! > > Do we need xen2debian anywhere? Mostly we have a debian thing and need a > Xen (or a Linux) thing. Maybe not. I provided it for completeness :-). > > Then > > my $xenarch = $arch_debian2xen{$arch}; > > my $pvgrub = "/usr/local/lib/xen/boot/pv-grub-$xenarch.gz"; > > Or is that conceptually wrong ? > > Not inherently, I don't think. > > You mean to do the same for $arch_debian2linux for the ts-kernel-build > stuff I guess? Right. Ian.