>>> On 26.03.15 at 15:14, <[email protected]> wrote:
>> > Does opensuse Xen Dom0 boot from GRUB2+UEFI?
>> 
>> I suppose so, but using the chainloader command, not the "normal"
>> mechanism to invoke a multiboot aware OS. I would have thought
>> that you even get respective entries created when installing Xen,
>> which you could then at least use as reference. The chainloader
>> mechanism of course requires using xen.efi, not xen.gz.
>> 
>> (To be precise, booting xen.gz to "normal" way is possible on some
>> systems - the main prerequisite is that despite there being UEFI the
>> firmware also exposes ACPI tables such that they can be found
>> without using EFI mechanisms.)
> 
> Reading
> 
>       http://wiki.xenproject.org/wiki/Xen_EFI 
> 
>               Xen 4.3 and later can be built as EFI binaries. Xen 4.5 can be 
> built as an 
> EFI binary under ARM.
> 
>               Linux 3.17 and later when built with CONFIG_XEN_EFI can be 
> booted under Xen 
> in EFI platform. 
> 
> Checking the prereqs I did find the EFI binary
> 
>       find / | grep xen.efi
>               /usr/lib64/efi/xen.efi
>       rpm -q --whatprovides /usr/lib64/efi/xen.efi
>               xen-4.5.0_03-359.6.x86_64
> 
> Reading, the kernel's been patched to check for using the CONFIG_XEN_EFI 
> flag
> 
>       Put EFI machinery for Xen in place
>       http://markmail.org/message/3zumxhat4trjkaeu 

That's for the pv-ops kernel, not ours.

> Checking for it, it's missing from the installed Xen kernel's config
> 
>       grep -i efi /boot/config-3.19.2-3.gd8856ce-xen 
>               CONFIG_EFI_PARTITION=y
>               CONFIG_EFI=y

This line is what's relevant in our kernel.

> Also it looks like direct grub2 booting of xen.gz as ELF binary is deferred 
> until Xen 4.6

Right, in its full form (i.e. when ACPI tables can only be acquired
using EFI data).

> You mentioned that direct 'normal' booting of the xen.gz might be possible 
> with sufficient exposure of the acpi tables.
> 
> I'm not sure how to check.  The related dmesg output while booting the 
> -default kernel is

This doesn't mean anything. You would only know by checking the
respective log of kernel-xen when booted with xen.gz.

Jan

--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to