Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove 4096B chunk restriction of read/write_volatile
Fixes a bug where GuestMemory::read_volatile_from and GuestMemory::write_volatile_into would only copy data in chunks of at most 4096 bytes from/into the underlying stream. The check removed in this commit was errorneously copied from the read_from/write_into functions, which use a temporary buffer to transfer data (and this temporary buffer was capped to 4096 bytes). Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
- Loading branch information