[ipxe-devel] [RFC PATCH] ipxe/autoboot: Boot only from requested device
Haggai Eran
haggaie at mellanox.com
Sun Feb 9 15:13:29 UTC 2014
On 05/02/2014 01:30, Alex Williamson wrote:
> This change passes the requested device through to the protected-mode
> code using the real-mode registers, which are already provided to the
> main() entrypoint. We define %al as the bus_type storage, where 0x0
> is unspecified and %bx as the location, which is only defined for PCI.
> autoboot() will then attempt to match these and boot only from that
> device, or from no device if a device is specified but not found.
I think this method might be problematic with some NICs that expose
multiple ports on the same PCI function. I'm not sure, but perhaps VLAN
devices will also be skipped this way. It would be better to change the
code to attempt to match multiple devices to the BDF taken in real-mode.
Regards,
Haggai
More information about the ipxe-devel
mailing list