<div dir="ltr">Is it possible that my rom is being built with support for all nics? If so, how do I remove support for all but the nic I care about (virtio-net or 8086100e e1000 in my case).<div><br></div><div style>Thanks,</div>

<div style>wt</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 29, 2013 at 4:45 AM, Robin Smidsrød <span dir="ltr"><<a href="mailto:robin@smidsrod.no" target="_blank">robin@smidsrod.no</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 28.01.2013 17:01, Klaus Espenlaub wrote:<br>
><br>
> Actually it's not really intentional that VirtualBox ships iPXE, because<br>
> the "switch to iPXE" project isn't complete yet. The intended "free" PXE<br>
> ROM in the VirtualBox base package would be some reasonably dated<br>
> Etherboot (derived from "almost" 5.4.3). Seems to have slipped into<br>
> 4.2.0 :)<br>
<br>
</div>Interesting to hear. I noticed that there was a gpxe subdir in the vbox<br>
source code, but it wasn't really the one that was part of the binary<br>
build you can download. Let's hope this is settled soon, so that the<br>
source code and the binary build matches.<br>
<div class="im"><br>
> Telling VirtualBox to use a different PXE ROM is quite easy, you just<br>
> have to make sure that the ROM image meets the size requirements. 56KB<br>
> max (to spell it out: 57344 bytes), anything bigger will be silently<br>
> ignored and the internal fallback will kick in again.<br>
><br>
> You have to be rather selective with the features, otherwise it won't<br>
> fit. It's so easy to pick too many iPXE features :)<br>
<br>
</div>Are you able to build one ROM file that supports all the NICs vbox<br>
supports? I currently build intel--virtio-net--pcnet32.dsk and boot<br>
using a floppy to get support for all the hardware. That is obviously<br>
not the best solution.<br>
<br>
I also tried building bin/10222000.rom, bin/1af41000.rom and<br>
bin/8086100e.rom, but I'm not sure if it is possible to combine them all<br>
together and still get below the 56KB limit. That would make it so much<br>
easier than having to twiddle the NIC ROM for each VM based on what<br>
network card is configured. Then I could just replace the global PXE ROM<br>
and be done with it. The non-free Intel PXE ROM works well, but it only<br>
supports the Intel adapter, as far as I can tell. Would be nice to have<br>
PXE support for the others as well.<br>
<br>
It would be super-helpful if you could post the config used to build the<br>
vbox-bundled iPXE ROM. I assume you have access to it, considering you<br>
work at Oracle...<br>
<div class="HOEnZb"><div class="h5"><br>
-- Robin<br>
<br>
_______________________________________________<br>
ipxe-devel mailing list<br>
<a href="mailto:ipxe-devel@lists.ipxe.org">ipxe-devel@lists.ipxe.org</a><br>
<a href="https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel" target="_blank">https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="color:rgb(102,102,102);font-family:Arial,Helvetica,sans-serif"><b>Warren Turkal</b><br>Site Reliability Engineer | <img src="https://lh6.googleusercontent.com/hyz76OkGgnUwiU5b-fZWpAjIcTm-SaytgiFJAbgc6A_dzWIRMpwuB1497LLBOhbB4GU7X04YXaB9B4Qth_bB042dxPIXbHONj8r6LCTlp6Mt3QQpj3c" width="67px" height="11px"><br>

<a href="mailto:wt@ooyala.com" target="_blank"><font color="#134F5C">wt@ooyala.com</font></a> | 650-961-3400<br><a href="http://www.ooyala.com/" target="_blank"><font color="#134F5C">www.ooyala.com</font></a> | <a href="http://www.ooyala.com/blog" target="_blank"><font color="#134F5C">blog</font></a> | <a href="http://www.twitter.com/ooyala" target="_blank"><font color="#134F5C">@ooyala</font></a></span>
</div>