HomeFreeBSD

virtio_console: handle short writes to an Unix domain socket gracefully.

Description

virtio_console: handle short writes to an Unix domain socket gracefully.

writev() can do a short write. Retrying it results in a very convoluted
and complex code, so we iterate over iovec and do regular stream_write()
instead.

Approved by: trasz
Sponsored by: iXsystems, Inc.

Details

Committed
jceelNov 24 2016, 10:16 PM
Parents
rS309120: Allow opening virtio-console ports from the host side before guest
Branches
Unknown
Tags
Unknown