mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-05 16:43:49 +00:00
The original code relied on the default `read_vectored` or `write_vectored` implementations from the standard library. The default implementation of those functions only uses the first non-empty buffer. That's not correct when there are more than one buffers. Fixes: #6876 Signed-off-by: Wei Liu <liuwe@microsoft.com>