mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
6e22f23831
The largest possible PTM response is only 16 bytes. Size the output buffer correctly. In the socket read function, rely on the caller to provide a sufficiently large buffer. That eliminates another large stack variable. In total this saves almost 8KB stack space. Signed-off-by: Wei Liu <liuwe@microsoft.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |