Page MenuHomeFreeBSD

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

Authored by rew on May 15 2021, 8:28 PM.

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

rew requested review of this revision.May 15 2021, 8:28 PM
markj added a subscriber: markj.
markj added inline comments.
usr.sbin/bhyve/snapshot.c
1505
1509

Extra newline.

This revision is now accepted and ready to land.May 16 2021, 6:33 PM
rew marked 2 inline comments as done.May 21 2021, 7:42 PM