Bug 1956931 - ipxe-roms-qemu list: Clean out old ROMs
Summary: ipxe-roms-qemu list: Clean out old ROMs
Keywords:
Status: POST
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: ipxe
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-04 17:05 UTC by Dr. David Alan Gilbert
Modified: 2021-05-06 11:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)

Description Dr. David Alan Gilbert 2021-05-04 17:05:20 UTC
Description of problem:
I see we've got quite a load of old stuff in here:

[root@virtlab720 noarch]# rpm -ql -p ipxe-roms-qemu-20200823-3.git4bd064de.el9.noarch.rpm 
/usr/share/doc/ipxe-roms-qemu
/usr/share/doc/ipxe-roms-qemu/COPYING
/usr/share/doc/ipxe-roms-qemu/COPYING.GPLv2
/usr/share/doc/ipxe-roms-qemu/COPYING.UBDL
/usr/share/ipxe
/usr/share/ipxe.efi
/usr/share/ipxe.efi/10222000.rom   <-- AMD Lance Ether
/usr/share/ipxe.efi/10ec8029.rom   <-- RTL 8029
/usr/share/ipxe.efi/10ec8139.rom           8139
/usr/share/ipxe.efi/15ad07b0.rom   <-- VMWare
/usr/share/ipxe.efi/1af41000.rom   <-- QEMU
/usr/share/ipxe.efi/8086100e.rom
/usr/share/ipxe.efi/808610d3.rom   <-- Intel e1000e
/usr/share/ipxe.efi/80861209.rom
/usr/share/ipxe/10222000.rom
/usr/share/ipxe/10ec8029.rom
/usr/share/ipxe/10ec8139.rom
/usr/share/ipxe/15ad07b0.rom
/usr/share/ipxe/1af41000.rom
/usr/share/ipxe/8086100e.rom
/usr/share/ipxe/808610d3.rom
/usr/share/ipxe/80861209.rom


We should sit back and figure out which ones we want.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Daniel Berrangé 2021-05-04 17:09:19 UTC
The specfile makes this quite easy to change:

# PCI IDs (vendor,product) of the ROMS we want for QEMU
#
#    pcnet32: 0x1022 0x2000
#   ne2k_pci: 0x10ec 0x8029
#      e1000: 0x8086 0x100e
#    rtl8139: 0x10ec 0x8139
# virtio-net: 0x1af4 0x1000
#   eepro100: 0x8086 0x1209
#     e1000e: 0x8086 0x10d3
#    vmxnet3: 0x15ad 0x07b0
%global qemuroms 10222000 10ec8029 8086100e 10ec8139 1af41000 80861209 808610d3 15ad07b0


Looking at the RHEL-8 qemu-kvm-5.2.0-6.module+el8.4.0+9871+53903be9.x86_64 

$ /usr/libexec/qemu-kvm  -device help
...snip...
Network devices:
name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet"
name "e1000e", bus PCI, desc "Intel 82574L GbE Controller"
name "rtl8139", bus PCI
name "virtio-net-device", bus virtio-bus
name "virtio-net-pci", bus PCI, alias "virtio-net"
name "virtio-net-pci-non-transitional", bus PCI
name "virtio-net-pci-transitional", bus PCI


So if we keep the same list of NICs in RHEL-9, we can drop it down to just 4 roms  e1000, e1000e, virtio-net and rtl8139:

%global qemuroms 8086100e 10ec8139 1af41000 808610d3


ie, remove  pcnet32, ne2k_pci, eepro100 and vmxnet3  ROMs

Comment 2 Daniel Berrangé 2021-05-05 10:18:33 UTC
Posted a change for implementing this

https://gitlab.com/redhat/centos-stream/rpms/ipxe/-/merge_requests/1


Note You need to log in before you can comment on or make changes to this bug.