Robert Wing 38dfb0626f bhyve/snapshot: use SOCK_DGRAM instead of SOCK_STREAM
The save/restore feature uses a unix domain socket to send messages
from bhyvectl(8) to a bhyve(8) process. A datagram socket will suffice
for this.

An added benefit of using a datagram socket is simplified code. For
bhyve, the listen/accept calls are dropped; and for bhyvectl, the
connect() call is dropped.

EPRINTLN handles raw mode for bhyve(8), use it to print error messages.

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D28983
2021-03-07 15:23:29 -09:00
..
2020-12-23 17:15:23 -09:00
2020-08-23 20:37:21 +00:00
2020-12-23 17:15:23 -09:00
2021-01-20 03:30:22 +10:00
2020-11-28 03:54:48 +00:00
2020-12-18 00:38:48 +00:00