mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Switch Request::parse over to the CheckedDescriptorIter helper from vm-virtio so the block crate validates each descriptor's translated (addr, len) range against guest memory through the same centralized path used by virtio-devices. Any descriptor whose buffer is not fully backed by guest RAM is now rejected before any I/O is set up against it. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>