mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
When the host half-closed the socket this was wrongly interpreted as a full shutdown preventing the guest from sending any more data. Instead propagate the half-close by setting just `VSOCK_FLAGS_SHUTDOWN_SEND`, leaving the connection alive so that guest-to-host writes are still forwarded. The connection is only torn down once the guest also shuts down its send side or a host write fails. Fixes: #8300 Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Rob Bradford <rbradford@meta.com>