mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Drop the local next_checked_desc helper and the inline translate_gva calls in from_tx_virtq_head and from_rx_virtq_head. Buffer ranges are now validated by the shared next_checked helper in vm-virtio, and the validated guest address is read directly from CheckedDescriptor::addr. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>