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

Reply via email to