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)
Thu, May 21, 10:42 AM
Unknown Object (File)
Wed, May 20, 1:27 PM
Unknown Object (File)
Wed, May 20, 10:07 AM
Unknown Object (File)
Mon, May 18, 5:18 AM
Unknown Object (File)
Mon, May 18, 2:30 AM
Unknown Object (File)
Mon, May 18, 2:30 AM
Unknown Object (File)
Mon, May 18, 2:30 AM
Unknown Object (File)
Mon, May 18, 2:23 AM
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.