qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH - V3] Port codes from qemu-kvm to support bootin


From: Kevin O'Connor
Subject: Re: [Qemu-devel] [PATCH - V3] Port codes from qemu-kvm to support booting from SCSI disk image
Date: Sat, 21 Aug 2010 10:20:58 -0400
User-agent: Mutt/1.5.20 (2009-12-10)

On Fri, Aug 20, 2010 at 09:39:10AM -0500, Anthony Liguori wrote:
> On 08/20/2010 09:09 AM, Gerd Hoffmann wrote:
> >Been there, tried that.  It isn't *that* easy.  The PCI ID in the
> >option rom header doesn't match the PCI ID of the emulated lsi, so
> >seabios refuses to load it from the rom bar.
> 
> Heh, I was wondering why it didn't work unless I put rombar=0 :-)
> 
> Is this fixable in a reasonable way or does PCI ID in the option rom
> represent a much newer device that would trigger issues with guest
> drivers?

The PCI spec requires that the PCI IDs match - this is done so that a
single rom can store multiple optionroms.

One could place the optionrom in fw_cfg with a "file" name of
"pciXXXX,YYYY.rom".  SeaBIOS will then deploy that rom for every
device that has the given vendor/devid.  (It wont require matching PCI
IDs ids in the rom.)

-Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]