Move the nvlist-based bhyve IPC code into a separate function.
No functional change intended.
Details
Details
- Reviewers
- None
- Group Reviewers
bhyve
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
if possible, it might be worth splitting the ipc changes outside of hot pluggable stack
think you can land the ipc changes without the hot plugging bits
| usr.sbin/bhyvectl/bhyvectl.c | ||
|---|---|---|
| 253 | if you rename nvl to request and then see my suggestion for lines 278-285 | |
| 278–293 | could use nvlist_xfer() instead of nvlist_send() and nvlist_recv() declare a nvlist_t *reply and then something like reply = nvlist_xfer(socket_fd, request, 0) | |