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 0/3] Enable Option ROM support in Guest BIOS

To: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>, 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 0/3] Enable Option ROM support in Guest BIOS
From: "Shan, Haitao" <haitao.shan@xxxxxxxxx>
Date: Tue, 25 Nov 2008 09:38:07 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 24 Nov 2008 17:39:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <B7C94E95B66229takebe_akio@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>
References: <61563CE63B4F854986A895DA7AD3C17701FC562A@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <B7C94E95B66229takebe_akio@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclOlb6PwisMRrRpRwG37gMIPvyeewACEAxA
Thread-topic: [Xen-devel] [PATCH 0/3] Enable Option ROM support in Guest BIOS
Takebe San,

For the empty option ROM case, do you mean that you can not see any contents by 
reading the PCI expansion ROM bar address? Or they are indeed empty?
I have met a problem when developing the patches; I can not read any contents 
from expansion ROM bar. I wonder whether they are the same problem.

Shan Haitao

-----Original Message-----
From: Akio Takebe [mailto:takebe_akio@xxxxxxxxxxxxxx] 
Sent: 2008年11月25日 8:35
To: Shan, Haitao; 'Keir Fraser'
Cc: 'xen-devel@xxxxxxxxxxxxxxxxxxx'
Subject: Re: [Xen-devel] [PATCH 0/3] Enable Option ROM support in Guest BIOS

Hi, Shan

>
>Note: There is no support for booting from SCSI disk now. Since guest BIOS 
>lacks support for that. Please see the comments below.
>//--------------------------------------------------------------------------
>// BIOS Boot Specification 1.0.1 compatibility
>//
>// Very basic support for the BIOS Boot Specification, which allows expansion
>// ROMs to register themselves as boot devices, instead of just stealing the
>// INT 19h boot vector.
>//
>// This is a hack: to do it properly requires a proper PnP BIOS and we aren't
>// one; we just lie to the option ROMs to make them behave correctly.
>// We also don't support letting option ROMs register as bootable disk
>// drives (BCVs), only as bootable devices (BEVs).
>//
>// http://www.phoenix.com/en/Customer+Services/White+Papers-Specs/pc+industry
>+specifications.htm
>//--------------------------------------------------------------------------
>
We have also worked for enabling option ROM.
I and Kouya made the patch for supporting BCV. And we could boot HVM 
guest from SAN storage. (please see my presentation of XenSummit Tokyo)

I'll check your patch and remake the patch soon.

BTW, I found some problems, they are:
- Some device require services that are not supported by ROMBIOS.
  (I think updating ROMBIOS to the latest bochs is better.)
- Some devcies have empty option ROM or option ROM for EFI.
  (e.g. NIC cards)

Best Regards,

Akio Takebe


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