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

Details

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