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
F136413021: D51132.id157845.diff
Mon, Nov 17, 4:47 PM
F136367886: D51132.id157929.diff
Mon, Nov 17, 11:17 AM
Unknown Object (File)
Sat, Nov 8, 2:51 AM
Unknown Object (File)
Tue, Nov 4, 2:44 AM
Unknown Object (File)
Tue, Nov 4, 2:44 AM
Unknown Object (File)
Tue, Nov 4, 2:44 AM
Unknown Object (File)
Tue, Nov 4, 2:42 AM
Unknown Object (File)
Sat, Nov 1, 12:06 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.