WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 2 of 3] Enable UEFI BIOS(OVMF) support in Xen-uns

To: Keir Fraser <keir.xen@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 2 of 3] Enable UEFI BIOS(OVMF) support in Xen-unstable HVM
From: Jordan Justen <jljusten@xxxxxxxxx>
Date: Tue, 9 Aug 2011 13:54:15 -0700
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, "edk2-devel@xxxxxxxxxxxxxxxxxxxxx" <edk2-devel@xxxxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Andrei Warkentin <andreiw@xxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, Bei Guan <gbtju85@xxxxxxxxx>
Delivery-date: Tue, 09 Aug 2011 13:55:13 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OLMRZLcabbmXwj3khqsG1gLVndYLtHzcz22UzkOTyFs=; b=qH+fk6H0sv97iGWof9mTCyWsfrh4vvnJNw2Rhfx3ZJZhZIxovxvzkdM1T3MzJgqOWZ 4rS1a24OWQaMP99xV/PV0mtgNcb17Xs6cz0RkqI3um2my9TlfYJvdfIIOxSJEel/PPLT dWazaQm5cNSRd+Y86C0Tgkp7YPdkyniTAEmsI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CA6757DE.1EF4B%keir.xen@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <CAFe8ug99dYmAJNLukNuBzkH+sAdvK9inCz0ox6LDdBpr3UqEew@xxxxxxxxxxxxxx> <CA6757DE.1EF4B%keir.xen@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Aug 9, 2011 at 13:32, Keir Fraser <keir.xen@xxxxxxxxx> wrote:
> On 09/08/2011 21:19, "Jordan Justen" <jljusten@xxxxxxxxx> wrote:
>
>>>> I suspect ovmf-x64 is a superset of the capabilities of ovmf-ia32 (e.g.,
>>>> ability to boot UEFI-bootable 64-bit OSes?). If so, we should only support
>>>> one config option -- "ovmf" -- and have hvmloader auto-load the appropriate
>>>> OVMF build, based on CPUID.long_mode.
>>>
>>> Yes, that's the sort of thing I was getting at.
>>
>> The IA32 firmware is used for IA32 UEFI operating systems, and the X64
>> firmware is used for X64 operating systems.
>
> I assume a native box would only have one UEFI firmware, and that would be
> X64 on an x86/64 box. You must still be able to boot IA32 operating systems
> on the X64 firmware, right?

Yes, it could technically be booted, if the OS loader was an X64
application that transitioned to IA32 before starting the OS kernel.

But, the IA32 OS would then have issues if it wanted to call UEFI
runtime services, which would be X64.

>> X64 is somewhat more commonly used on modern systems.
>>
>> There could be an auto-detect mode for the default of IA32 or X64
>> based on the installed CPU, but there might still be a case where
>> someone would prefer to run OVMF IA32 on an X64 processor.
>
> Such as?

If you had an IA32 UEFI OS, it would be better to boot the IA32 OVMF
for the reason mentioned above.

-Jordan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>