]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - usr.sbin/bhyve/bhyve.8
bhyve: allow for automatic destruction on power-off
authorkaktus <kaktus@FreeBSD.org>
Thu, 25 Jun 2020 12:35:20 +0000 (12:35 +0000)
committerkaktus <kaktus@FreeBSD.org>
Thu, 25 Jun 2020 12:35:20 +0000 (12:35 +0000)
commit3cffbb58d4142d9a656cd93f120a7e5330a6e711
tree729d1e2babb6a9760ed514c5b6a023eb800b6b12
parent04ed068cc8597ad95f6b91c3f43f159357c0ded2
bhyve: allow for automatic destruction on power-off

Introduce -D flag that allows for the VM to be destroyed on guest initiated
power-off by the bhyve(8) process itself.
This is quality of life change that allows for simpler deployments without
the need for bhyvectl --destroy.

Requested by: swills
Reviewed by: 0mp (manpages), grehan, kib, swills
Approved by: kib (mentor)
MFC after: 2 weeks
Sponsored by: Mysterious Code Ltd.
Differential Revision: https://reviews.freebsd.org/D25414
usr.sbin/bhyve/bhyve.8
usr.sbin/bhyve/bhyverun.c