-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metal.go: remove optional rom pxe-rtl8139 #2964
Conversation
c2d8979
to
f1cef3f
Compare
Last push fixes a typo in the commit message. |
To me this fact begs a few questions:
|
The answer seems to be "no"...that said I think the answer is this bit of code above: And I suspect it's something like the e1000 drivers being built into ipxe, so this secondary NIC driver was never needed. |
/retest |
We did some more digging on this the other day. @saqibali-2k is going to post an update |
The `-option-rom .../pxe-rtl8139.rom` used to be required but is no longer needed because according to [1] "If no rom bar is specified, the qemu default will be used (older versions of qemu used a default of "off", while newer qemus have a default of "on")". The attribute `file` which is used to pass an [1] `alternative boot ROM for a network device` is optional and thus assumed to have a default in QEMU. So now qemu will default to loading the option rom for the given NIC device model. [1] https://gitlab.com/libvirt/libvirt/-/blob/3547875f3a8cf286a03b62f5e7bdb8e4b0eeee29/docs/formatdomain.rst#interface-rom-bios-configuration fixes: coreos#2918
f1cef3f
to
3be34d3
Compare
/override ci/prow/rhcos |
@cgwalters: Overrode contexts on behalf of cgwalters: ci/prow/rhcos In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent investigation and commit message!
Credit goes to Dusty :) |
/retest |
RHCOS is broken until openshift/os#890 is merged |
@saqibali-2k: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
which I think means we can ignore this CI failure. |
The
-option-rom .../pxe-rtl8139.rom
used to be required but is nolonger needed because according to [1] "If no rom bar is specified,
the qemu default will be used (older versions of qemu used a default
of "off", while newer qemus have a default of "on")".
The attribute
file
which is used to pass an [1]alternative boot ROM for a network device
is optional and thusassumed to have a default in QEMU.
So now qemu will default to loading the option rom for the given NIC
device model.
[1] https://gitlab.com/libvirt/libvirt/-/blob/3547875f3a8cf286a03b62f5e7bdb8e4b0eeee29/docs/formatdomain.rst#interface-rom-bios-configuration
fixes: #2918