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
F81699379: D28783.id.diff
Sat, Apr 20, 3:35 AM
Unknown Object (File)
Feb 6 2024, 9:05 PM
Unknown Object (File)
Jan 30 2024, 1:03 AM
Unknown Object (File)
Jan 16 2024, 6:20 PM
Unknown Object (File)
Dec 20 2023, 5:49 AM
Unknown Object (File)
Dec 13 2023, 8:46 PM
Unknown Object (File)
Dec 10 2023, 10:26 PM
Unknown Object (File)
Dec 1 2023, 2:40 AM

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable