Page MenuHomeFreeBSD

loader: Support halt as well as poweroff to turn off machine
ClosedPublic

Authored by thj on Jul 2 2025, 2:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 11:28 AM
Unknown Object (File)
Sun, Oct 12, 11:28 AM
Unknown Object (File)
Sun, Oct 12, 11:28 AM
Unknown Object (File)
Sun, Oct 12, 12:34 AM
Unknown Object (File)
Fri, Oct 3, 6:04 AM
Unknown Object (File)
Tue, Sep 30, 9:07 AM
Unknown Object (File)
Thu, Sep 18, 5:04 AM
Unknown Object (File)
Sep 4 2025, 8:37 PM
Subscribers

Details

Summary

I can't ever remember if loader or ddb wants halt or poweroff - add halt to loader

Test Plan

I've been using this in bhyve for the last week, I don't see why it should behave any differently to the poweroff path. I haven't dug to see if this is the best way to implement this, I'm mostly creating the review as a I tidy a branch

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

thj requested review of this revision.Jul 2 2025, 2:33 PM

I want to rage approve this change.

This revision is now accepted and ready to land.Jul 3 2025, 8:40 PM
This revision was automatically updated to reflect the committed changes.