From mboxrd@z Thu Jan 1 00:00:00 1970 From: PGNet Dev Subject: Re: [PATCH v2 00/23] x86: multiboot2 protocol support Date: Fri, 30 Oct 2015 11:06:53 -0700 Message-ID: <5633B1BD.9070908@gmail.com> References: <56339075.9010403@gmail.com> <20151030172959.GK3489@olila.local.net-space.pl> Reply-To: PGNet Dev Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20151030172959.GK3489@olila.local.net-space.pl> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Daniel Kiper Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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 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. Thanks.