[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 00/23] x86: multiboot2 protocol support



On Fri, Oct 30, 2015 at 11:06:53AM -0700, PGNet Dev wrote:
> On 10/30/2015 10:29 AM, Daniel Kiper wrote:
> >>Will the aforementioned goals enable direct boot using systemd-boot
> >>on EFI platforms ?  Or is it possible even now?
> >
> >If it supports multiboot2 with my extensions then it should work.
> >However, I do not think it is true because all is in development
> >state and nothing is set in stone. I am going to release next version
> >of my patches in November. I hope then we will be able to establish
> >main things and maybe it will be later sucked by systemd-boot. I think
> >that you should ask systemd-boot guys what they think about that.
>
> fwiw, from #systemd IRC
>
>       Q: does/will systemd-boot work to boot Xen Dom0?
>       A: systemd-boot will boot anything that's an EFI program
>       Q: that's to mean, any EFI executable on the EFI partition?
>       A: yes. apparently that includes Xen itself, according to
>          https://wiki.archlinux.org/index.php/Xen#With_UEFI_support
>          "cp /usr/lib/efi/xen-4.4.0.efi /boot"
>          that's not the dom0 however, that's just the hypervisor
>          so the question is, how the hypervisor loads dom0
>          ...
>          if you copy xen-x.y.z.efi as /boot/EFI/Boot/BOOTX64.EFI it'll be
> booted by UEFI by default
>          you don't even need gummiboot/sd-boot
>          or you could `efibootmgr` it into your native UEFI boot menu
>          I never used xen, but it seems to read xen.cfg and load dom0
> itself, which is just fine

This is correct. I missed that you are talking about PE executable. However,
as it was said you must create xen.cfg in advance and put it in the same
directory with xen.efi. Please check xen/docs/misc/efi.markdown for more 
details.

> which, IIUC, is "probably should ... sort of".
>
> I suspect wait and see is called for.
>
> I'm hoping the Xen-on-UEFI work you're doing helps to smooth out the
> boot process.

I am too.

Daniel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.