From: Akio Takebe <takebe_akio@jp.fujitsu.com>
To: "Shan, Haitao" <haitao.shan@intel.com>,
'Keir Fraser' <keir.fraser@eu.citrix.com>,
"Nakajima, Jun" <jun.nakajima@intel.com>
Cc: "'xen-devel@lists.xensource.com'" <xen-devel@lists.xensource.com>,
Akio Takebe <takebe_akio@jp.fujitsu.com>
Subject: RE: [PATCH 0/3] Enable Option ROM support in Guest BIOS
Date: Tue, 25 Nov 2008 10:47:36 +0900 [thread overview]
Message-ID: <BBC94E9FCACC85takebe_akio@jp.fujitsu.com> (raw)
In-Reply-To: <61563CE63B4F854986A895DA7AD3C17701FC591D@pdsmsx502.ccr.corp.intel.com>
Hi, Shan-san
I read option ROM from /sys/devices/pci0000\:00/<BDF>/rom like the below.
1. echo 1 > /sys/devices/pci0000\:00/0000\:00\:01.0/0000\:01\:00.0/rom
2. dd if=/sys/devices/pci0000\:00/0000\:00\:01.0/0000\:01\:00.0/rom of=
rom.data
The rom didn't have any contents.
Best Regards,
Akio Takebe
>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@jp.fujitsu.com]
>Sent: 2008年11月25日 8:35
>To: Shan, Haitao; 'Keir Fraser'
>Cc: 'xen-devel@lists.xensource.com'
>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
next prev parent reply other threads:[~2008-11-25 1:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-24 5:16 [PATCH 0/3] Enable Option ROM support in Guest BIOS Shan, Haitao
2008-11-25 0:35 ` Akio Takebe
2008-11-25 1:38 ` Shan, Haitao
2008-11-25 1:47 ` Akio Takebe [this message]
2008-11-25 2:09 ` Shan, Haitao
2008-11-25 17:15 ` John Levon
2008-11-26 2:08 ` Shan, Haitao
2008-11-26 5:27 ` Akio Takebe
2008-11-26 5:47 ` Ian Pratt
2008-11-26 5:54 ` James Harper
2008-11-27 10:27 ` Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BBC94E9FCACC85takebe_akio@jp.fujitsu.com \
--to=takebe_akio@jp.fujitsu.com \
--cc=haitao.shan@intel.com \
--cc=jun.nakajima@intel.com \
--cc=keir.fraser@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.