HomeFreeBSD

bhyve/snapshot: split up mutex/cond initialization from socket creation

Description

bhyve/snapshot: split up mutex/cond initialization from socket creation

Move initialization of the mutex/condition variables required by the
save/restore feature to their own function.

The unix domain socket that facilitates communication between bhyvectl
and bhyve doesn't rely on these variables in order to be functional.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D30281

(cherry picked from commit fdbc86cf79784f56fab8115f2d565962e1111b2e)

Details

Provenance
rewAuthored on May 15 2021, 7:58 PM
jhbCommitted on Jan 26 2023, 6:46 PM
Reviewer
markj
Differential Revision
D30281: bhyve/snapshot: split up mutex/cond initialization from socket creation
Parents
rG3c17cf307b01: bhyve/snapshot: provide a way to send other messages/data to bhyve
Branches
Unknown
Tags
Unknown