]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - usr.sbin/bhyve/bhyve.8
bhyve: allow for automatic destruction on power-off
authorPawel Biernacki <kaktus@FreeBSD.org>
Thu, 25 Jun 2020 12:35:20 +0000 (12:35 +0000)
committerPawel Biernacki <kaktus@FreeBSD.org>
Thu, 25 Jun 2020 12:35:20 +0000 (12:35 +0000)
commit0a1016f9e8a84edc8eb21e4f776b18b19fdd26ce
tree729d1e2babb6a9760ed514c5b6a023eb800b6b12
parenteb8a06388c53a8b26fd2264f50e5f9d302e04f23
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