Page MenuHomeFreeBSD

bhyve/snapshot: drop mkdir when creating the unix domain socket
ClosedPublic

Authored by rew on Feb 19 2021, 3:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 15, 4:46 PM
Unknown Object (File)
Tue, Apr 14, 1:56 PM
Unknown Object (File)
Mon, Apr 13, 10:30 PM
Unknown Object (File)
Tue, Mar 31, 11:07 AM
Unknown Object (File)
Mon, Mar 30, 7:46 PM
Unknown Object (File)
Mon, Mar 30, 7:23 PM
Unknown Object (File)
Mar 16 2026, 11:18 PM
Unknown Object (File)
Mar 14 2026, 11:40 PM

Details

Summary

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).

This review is a subset of (but does not depend on) changes found at
https://reviews.freebsd.org/D28199.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37173
Build 34062: arc lint + arc unit