Page MenuHomeFreeBSD

bhyve: change suspend exit code
Needs ReviewPublic

Authored by novel on Fri, Dec 5, 5:21 PM.

Details

Reviewers
None
Group Reviewers
bhyve
Summary

Currently, after suspending, bhyve(8) exits with 0. This code is
also used to indicate that a VM was rebooted. To differentiate
reboot and suspend, use the next available exit code, 5, for suspend.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69074
Build 65957: arc lint + arc unit