diff options
author | Dave Voutila <dv@cvs.openbsd.org> | 2023-02-06 20:33:35 +0000 |
---|---|---|
committer | Dave Voutila <dv@cvs.openbsd.org> | 2023-02-06 20:33:35 +0000 |
commit | f81e1b3cfd5f3d2971ef2bc7f05ebc4150fccb38 (patch) | |
tree | 7588de7b7760edca37084ef2fb269ebb264f4d85 /sys/dev | |
parent | 221037d53324be84dc7db804a7fe698ab5886812 (diff) |
vmd(8): scan pci bus to determine bootorder strings.
vmd's SeaBIOS bootorder strings had hardcoded pci device ids, so
if a user added a network interface the bootorder strings didn't
line up with reality. Using vmctl(8) to boot from a cdrom (-B cdrom)
would fail, for instance, if attaching both a nic and a disk as
well.
This change scans the pci devices and finds the first of each type
to construct viable bootorder strings.
ok jan@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions