cloud-hypervisor/vmm
Muminul Islam 9b84c6c3f5 vmm: check correct buffer size during import
When we import a page, we have a page with
some data or empty, empty does not mean there is no data,
it rather means it's full of zeros. We can skip writing the
data as guest memory of the page is already zeroed.

A page could be partially filled and the rest of the content is zero.
Our IGVM generation tool only fills data here if there is some data
without zeros. Rest of them are padded. We only write data
without padding and compare whether we complete  writing
the buffer content. Still it's a full page and update the variable
with length of the full page.

Signed-off-by: Muminul Islam <muislam@microsoft.com>
2024-02-06 14:28:42 -08:00
..
src vmm: check correct buffer size during import 2024-02-06 14:28:42 -08:00
Cargo.toml build: Bump zerocopy from 0.7.31 to 0.7.32 2024-01-27 00:35:32 +00:00