cloud-hypervisor/vmm
Yi Wang a69d8c63b3 vmm: speed up JSON load when reading snap files
We found that it's slow to load JSON when reading snap files. As
described in [1], using from_slice instead of from_reader can fix
this.

Also, fix the error type being returned.

1. https://github.com/serde-rs/json/issues/160

Signed-off-by: Yi Wang <foxywang@tencent.com>
2023-11-16 14:56:04 -08:00
..
src vmm: speed up JSON load when reading snap files 2023-11-16 14:56:04 -08:00
Cargo.toml build: Upgrade vm-memory crates and its consumers 2023-11-14 09:17:42 +00:00