[virtio] Fix MSI-X control register offset in legacy mode In legacy mode when checking if MSI-X is enabled to calculate the device-specific region offset, the code accesses the base of the MSI-X capability structure instead of the Message Control register and, if the Next Pointer value exceeds 0x80, the subsequent check of PCI_MSIX_CTRL_ENABLE mask incorrectly evaluates to true. This false positive forces an erroneous 24-byte base offset, shifting subsequent configuration reads by 4 bytes. This manifests as a mangled MAC address during device probe (e.g. 34:56:01:00:ff:ff). Fix the read offset to target the Message Control register. Reported-by: Kent Konishi <konishi.kento@fujitsu.com> Signed-off-by: Dario Faggioli <dfaggioli@suse.com> Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
iPXE is the leading open source network boot firmware. It provides a full PXE implementation enhanced with additional features such as:
boot from a web server via HTTP or HTTPS,
boot from an iSCSI, FCoE, or AoE SAN,
control the boot process with a script,
You can use iPXE to replace the existing PXE ROM on your network card, or you can chainload into iPXE to obtain the features of iPXE without the hassle of reflashing.
iPXE is free, open-source software licensed under the GNU GPL (with some portions under GPL-compatible licences).
You can download the rolling release binaries (built from the latest commit), or use the most recent stable release.
For full documentation, visit the iPXE website.