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: 'John Levon' <levon@xxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 0/3] Enable Option ROM support in Guest BIOS
From: "Shan, Haitao" <haitao.shan@xxxxxxxxx>
Date: Wed, 26 Nov 2008 10:08:43 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Tue, 25 Nov 2008 18:09:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081125171513.GA14050@xxxxxxxxxxxxxxxxxxxxxxx>
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> <20081125171513.GA14050@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclPIXLNhTbu3waBTkmWDfzkzLdb3AASDomA
Thread-topic: [Xen-devel] [PATCH 0/3] Enable Option ROM support in Guest BIOS
Hi,

Although we developed this for assigned devices, I think it also applies to 
emulated devices.

For adding support of an emulated SCSI device, I think there are different 
approach.
1> Modifies guest BIOS to directly support your emulated SCSI controller and 
devices. This does not need option ROM support.
2> Implement option ROM for your emulated devices. But loading of this option 
ROM can be hardcoded in HVMLoader, like current VGA BIOS in guest BIOS. This 
does not need generic option ROM support.
3> Implement option ROM for your emulated decices. Access this option ROM via 
PCI expansion BAR (of your emulated device of course). You can use this patches 
for loading and executing the option ROM. However, this alone can *not* enable 
booting from that SCSI device. You still need to modify guest BIOS to support 
BCV in BIOS Boot Specification.

So that answer to your question is: Yes, it helps towarding being able to boot 
from an emulated SCSI device for HVM guest if you choose to do it that way. But 
*not* enough. I do not know if there is anyone that is developing this 
capability. Maybe others who has interests on this can comment more.

Best Regards
Haitao Shan

John Levon wrote:
> On Mon, Nov 24, 2008 at 01:16:09PM +0800, Shan, Haitao wrote:
> 
>> These three patches enables Option ROM support in guest BIOS. Please
>> see detailed description below. 
> 
> Do these changes help towards being able to boot from an emulated SCSI
> device for HVM guests? Has any thought been done about that?
> 
> regards
> john
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel