diff options
author | Robert Wing <rew@FreeBSD.org> | 2021-02-19 02:48:40 +0000 |
---|---|---|
committer | Robert Wing <rew@FreeBSD.org> | 2021-02-22 20:31:07 +0000 |
commit | 5ce2d4a1c2922821b9940473213c0d75469755fc (patch) | |
tree | f9f76609c34dc5d58b1d148dbb702768375d19a3 /etc | |
parent | 811e27fa3c445664e36071a7d08228fc7fb85676 (diff) | |
download | src-5ce2d4a1c2922821b9940473213c0d75469755fc.tar.gz src-5ce2d4a1c2922821b9940473213c0d75469755fc.zip |
bhyve/snapshot: drop mkdir when creating the unix domain socket
Add /var/run/bhyve/ to BSD.var.dist so we don't have to call mkdir when
creating the unix domain socket for a given bhyve vm.
The path to the unix domain socket for a bhyve vm will now be
/var/run/bhyve/vmname instead of /var/run/bhyve/checkpoint/vmname
Move BHYVE_RUN_DIR from snapshot.c to snapshot.h so it can be shared
to bhyvectl(8).
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D28783
Diffstat (limited to 'etc')
-rw-r--r-- | etc/mtree/BSD.var.dist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/mtree/BSD.var.dist b/etc/mtree/BSD.var.dist index 6483df4a297d..f0d6f8694449 100644 --- a/etc/mtree/BSD.var.dist +++ b/etc/mtree/BSD.var.dist @@ -74,6 +74,8 @@ preserve .. run + bhyve + .. dhclient .. ppp gname=network mode=0770 |