mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Keep packet data as a checked guest memory range and add helpers for volatile reads and writes. Arguably VsockPacket should hold a VolatileSlice for the guest memory usecase, but the lifetime tracking involved wasn't worth it. Keep the old slice accessors for now so existing callers still build. The next commit switches them over. Assisted-by: Codex:GPT-5 Signed-off-by: Dylan Reid <dgreid@fb.com>