Page MenuHomeFreeBSD

bhyve: change suspend exit code
AcceptedPublic

Authored by novel on Fri, Dec 5, 5:21 PM.
Tags
None
Referenced Files
F139444906: D54087.diff
Fri, Dec 12, 4:17 AM
Unknown Object (File)
Wed, Dec 10, 6:52 AM
Unknown Object (File)
Sun, Dec 7, 3:34 AM

Details

Reviewers
markj
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

Event Timeline

novel requested review of this revision.Fri, Dec 5, 5:21 PM
markj added subscribers: bnovkov, markj.
markj added inline comments.
usr.sbin/bhyve/snapshot.c
1311

@bnovkov this will require an update in D53730.

This revision is now accepted and ready to land.Mon, Dec 8, 2:36 PM