HomeFreeBSD

kboot: Use standard set_currdev

Description

kboot: Use standard set_currdev

Use the standard set_currdev instead of the (now very old) copy of
setting currdev and loaddev directly. We do this only when we don't go
find the ZFS pool to boot from.

Sponsored by: Netflix
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D38012

(cherry picked from commit eb1795782cfc43523345f78737cc22277cea5056)

Details

Provenance
impAuthored on Jan 13 2023, 9:21 PM
Reviewer
kevans
Differential Revision
D38012: kboot: Use standard set_currdev
Parents
rG0b569fe6717a: kboot: Add hostdisk override
Branches
Unknown
Tags
Unknown