Page MenuHomeFreeBSD

bhyve/snapshot: provide a way to send other messages/data to bhyve
ClosedPublic

Authored by rew on Mar 11 2021, 5:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 9, 6:18 AM
Unknown Object (File)
May 11 2026, 5:04 AM
Unknown Object (File)
May 8 2026, 8:36 PM
Unknown Object (File)
May 3 2026, 1:29 PM
Unknown Object (File)
May 3 2026, 9:02 AM
Unknown Object (File)
May 2 2026, 12:53 PM
Unknown Object (File)
May 1 2026, 9:23 PM
Unknown Object (File)
Apr 30 2026, 5:06 AM
Subscribers

Details

Summary

This is a step towards sending messages (other than suspend/resume) from
bhyvectl to bhyve.

Define a new struct, ipc_message - this struct stores the type of
message and message specific data that is sent from bhyvectl to bhyve.

To define a new message:

  1. add type of message to enum ipc_opcode
  2. add message specific data to the ipc_message union
  3. setup ipc_message for the new message on the bhyvctl end
  4. handle the new message on the bhyve end

Diff Detail

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