mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Write 4096 bytes via plain Vec<u8> whose address is not guaranteed to be aligned. The bounce buffer path copies data into an aligned allocation before the syscall. Read back with pread_exact to verify data integrity. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>