qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Command line option "-option-rom" doesn't take the ROM file
@ 2017-10-23 17:54 Deema B
  2017-10-24 11:53 ` Stefan Hajnoczi
  0 siblings, 1 reply; 5+ messages in thread
From: Deema B @ 2017-10-23 17:54 UTC (permalink / raw)
  To: qemu-devel

Hi,

I'm trying to use the -option-rom option to supply my own virtio OpROM.

I am not able to see the ROM being launch (the built-in version comes up
instead).
The only way I am able to make it work is to rebuild the Qemu and iPXE
together.

I'm assuming this is working feature, and I'm simply doing something wrong.
Appreciate any suggestions, pointers, and to hear your experience with this
particular option.

 - Deema.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] Command line option "-option-rom" doesn't take the ROM file
@ 2017-10-23 21:22 Deema B
  2017-10-24 11:50 ` Stefan Hajnoczi
  0 siblings, 1 reply; 5+ messages in thread
From: Deema B @ 2017-10-23 21:22 UTC (permalink / raw)
  To: qemu-devel

Hi,

I'm trying to use the -option-rom option to supply my own virtio OpROM.

I am not able to see the ROM being launch (the built-in version comes up
instead).
The only way I am able to make it work is to rebuild the Qemu and iPXE
together.

I'm assuming this is working feature, and I'm simply doing something wrong.
Appreciate any suggestions, pointers, and to hear your experience with this
particular option.

- Deema

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Command line option "-option-rom" doesn't take the ROM file
  2017-10-23 21:22 [Qemu-devel] Command line option "-option-rom" doesn't take the ROM file Deema B
@ 2017-10-24 11:50 ` Stefan Hajnoczi
  2017-10-24 19:22   ` Deema B
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Hajnoczi @ 2017-10-24 11:50 UTC (permalink / raw)
  To: Deema B; +Cc: qemu-devel

On Mon, Oct 23, 2017 at 02:22:05PM -0700, Deema B wrote:
> I'm trying to use the -option-rom option to supply my own virtio OpROM.
> 
> I am not able to see the ROM being launch (the built-in version comes up
> instead).
> The only way I am able to make it work is to rebuild the Qemu and iPXE
> together.
> 
> I'm assuming this is working feature, and I'm simply doing something wrong.
> Appreciate any suggestions, pointers, and to hear your experience with this
> particular option.

Hi Deema,
You can specify the option ROM on a per-device basis:

  -device virtio-net-pci,romfile=my-ipxe.rom,...

The advantage of this approach is that there is no conflict between the
global -option-rom file and the default file loaded by the NIC device.

Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Command line option "-option-rom" doesn't take the ROM file
  2017-10-23 17:54 Deema B
@ 2017-10-24 11:53 ` Stefan Hajnoczi
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2017-10-24 11:53 UTC (permalink / raw)
  To: Deema B; +Cc: qemu-devel

On Mon, Oct 23, 2017 at 10:54:15AM -0700, Deema B wrote:
> I'm trying to use the -option-rom option to supply my own virtio OpROM.
> 
> I am not able to see the ROM being launch (the built-in version comes up
> instead).
> The only way I am able to make it work is to rebuild the Qemu and iPXE
> together.
> 
> I'm assuming this is working feature, and I'm simply doing something wrong.
> Appreciate any suggestions, pointers, and to hear your experience with this
> particular option.

I replied to the other copy of this email.  Sometimes the mailing list
is slow to process mails but in almost all cases it will eventually
process them.  Please only send one copy of your emails to the mailing
list.

Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Command line option "-option-rom" doesn't take the ROM file
  2017-10-24 11:50 ` Stefan Hajnoczi
@ 2017-10-24 19:22   ` Deema B
  0 siblings, 0 replies; 5+ messages in thread
From: Deema B @ 2017-10-24 19:22 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel

Thank you, Stefan!  That worked.
Sorry for the double email, I'm learning quickly :)

On Tue, Oct 24, 2017 at 4:50 AM, Stefan Hajnoczi <stefanha@gmail.com> wrote:

> On Mon, Oct 23, 2017 at 02:22:05PM -0700, Deema B wrote:
> > I'm trying to use the -option-rom option to supply my own virtio OpROM.
> >
> > I am not able to see the ROM being launch (the built-in version comes up
> > instead).
> > The only way I am able to make it work is to rebuild the Qemu and iPXE
> > together.
> >
> > I'm assuming this is working feature, and I'm simply doing something
> wrong.
> > Appreciate any suggestions, pointers, and to hear your experience with
> this
> > particular option.
>
> Hi Deema,
> You can specify the option ROM on a per-device basis:
>
>   -device virtio-net-pci,romfile=my-ipxe.rom,...
>
> The advantage of this approach is that there is no conflict between the
> global -option-rom file and the default file loaded by the NIC device.
>
> Stefan
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-24 19:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-23 21:22 [Qemu-devel] Command line option "-option-rom" doesn't take the ROM file Deema B
2017-10-24 11:50 ` Stefan Hajnoczi
2017-10-24 19:22   ` Deema B
  -- strict thread matches above, loose matches on Subject: below --
2017-10-23 17:54 Deema B
2017-10-24 11:53 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).