Bug#776450: Xen PVH support for grub-xen in Buster

Colin Watson cjwatson at debian.org
Mon Jan 7 08:44:50 GMT 2019


On Mon, Jan 07, 2019 at 01:58:19AM +0100, Hans van Kranenburg wrote:
> On 1/6/19 11:21 AM, Colin Watson wrote:
> > Given what you've described, I see no intrinsic reason we couldn't do
> > the same thing with PVH, but I'm pretty sure that GRUB's Xen multiboot
> > support doesn't yet support using the PVH entry point, so I don't think
> > it will work with the code as it stands.  It probably makes more sense
> > to package what we have today (which I can do) and then work on the
> > two-stage system as a further refinement.
> 
> Ok great. Since I'm not using (and probably not going to use) the
> multi-stage multiboot things, this is harder for me to help with.

With any luck I should be able to work that bit out myself, since I
think stable's Xen has backported PVH support.

> Now, while trying to start doing the same for PVH, I just started by
> copying the build output of grub master branch into the source package,
> #yolo, and then I have a grub-mkstandalone that can do -O i386-xen_pvh...
> 
> https://salsa.debian.org/knorrie-guest/pvhgrub2/blob/master/Makefile
> 
> So my question is... Will the new grub-mkstandalone that I drag in as
> build dependency be able to do -O x86_64-xen as well as -O i386-xen_pvh?

Yes, that should work.  The tools are intentionally multi-target; in
order to support a given target they just need to have its modules etc.
available.

-- 
Colin Watson                                       [cjwatson at debian.org]



More information about the Pkg-grub-devel mailing list