[ipxe-devel] [PATCH v2 0/3] ipxe/autoboot: Boot only from requested device

Alex Williamson alex.williamson at redhat.com
Tue Feb 25 23:00:09 UTC 2014


v2:
 - Tweaked approached based on IRC comments from Michael
   - Host device location matching in autoboot rather than pci
   - Use i386/core initialization hook to relay BSS to autoboot

This version actually passes 'make everything' for each step and
should provide an obvious interface for other paths to specify the
device location of the autoboot device.  This should support devices
with multiple netdevs and should be completely compatible if no
autoboot device is specifed or no matching devices are found.  This
latter case should retain the ability to deploy iPXE for one device
in another device ROM, ex. wifi iPXE loaded from wired NIC ROM space.
Thanks,

Alex

---

Alex Williamson (3):
      [autoboot] Enable infrastructure to specify an autoboot device location
      [i386/core] Add support for setting autoboot_device from BSS
      [romprefix] Store boot bus:dev.fn


 src/arch/i386/core/pci_autoboot_device.c |   52 ++++++++++++++++++++++++++++++
 src/arch/i386/prefix/romprefix.S         |   13 +++++++-
 src/include/usr/autoboot.h               |    3 ++
 src/usr/autoboot.c                       |   52 +++++++++++++++++++-----------
 4 files changed, 100 insertions(+), 20 deletions(-)
 create mode 100644 src/arch/i386/core/pci_autoboot_device.c



More information about the ipxe-devel mailing list