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: Andrei Warkentin <andreiw@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 2 of 3] Enable UEFI BIOS(OVMF) support in Xen-unstable HVM
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Tue, 09 Aug 2011 21:56:01 +0100
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, "edk2-devel@xxxxxxxxxxxxxxxxxxxxx" <edk2-devel@xxxxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, Jordan Justen <jljusten@xxxxxxxxx>, Bei Guan <gbtju85@xxxxxxxxx>
Delivery-date: Tue, 09 Aug 2011 13:56:39 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=6N1CeBvU07Oq/+u2/zyobIt5UNs0y6X8awrbr7hBQQ0=; b=j5Roi2engVEjPhGfKTEVuHJu3W25hpf2LfsDj3Mpv9X/4H0tLZhH5jH4zSWz1j9xDL itzLzefkBRMArib3M4Gy8Su0jtVH7e55ar1Nn9Vy8lnf9hii7IRnc634UwF/WOfb0AZC k1DDWZRKy1eF5zWWXqaPztSlbqd03aln7JEyc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CALfQTu4q8vvy2Y3nT8MjeFBK1giSGPG3HSgX4zj9LVMDB5aHCg@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcxW1r69DrZGpW9vk0qr6rBXES7Wqg==
Thread-topic: [Xen-devel] [PATCH 2 of 3] Enable UEFI BIOS(OVMF) support in Xen-unstable HVM
User-agent: Microsoft-Entourage/12.30.0.110427
On 09/08/2011 21:25, "Andrei Warkentin" <andreiw@xxxxxxxxxxxx> 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.
>> 
> 
> As Jordan mentioned, 32-bit EFI can only boot 32-bit EFI applications
> (that might mean 32-bit bootloader for 64-bit OS). 64-bit EFI can only
> boot 64-bit applications.

Good grief. How is that handled on real systems then: Are there two firmware
payloads? Or you can only boot 32-bit OS the legacy way on 64-bit server
systems?

> X64 is what is the "de facto" standard in the commerical PC/server
> world (for example - 2008, Win7 all boot UEFI way only on 64-bit), but
> 32-bit UEFI has been used as well and has applications in the
> low-power embedded x86 space.

I think we'll just stick with the two config options then -- ovmf-ia32 and
ovmf-x64. The correct choice depends on the OS that's installed, we can't
really auto-detect it, or if we do have that knowledge it will be from
within a higher-level management tool which can automatically set this
low-level config option appropriately.

 -- Keir



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