mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-24 13:35:19 +00:00
1f7b809619
The size was set to one because without VIRTIO_BLK_F_SEG_MAX, the guest only used one data descriptor per request. The value 32 is empirically derived from booting a guest. This value eliminates all SmallVec allocations observable by DHAT. Signed-off-by: Wei Liu <liuwe@microsoft.com>