mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vm-virtio: Add support for indirect descriptors
Indirect descriptors is a virtio feature that allows the driver to store a table of descriptors anywhere in memory, pointing to it from a virtqueue ring's descriptor with a particular flag. We can't seamlessly transition from an iterator over a conventional descriptor chain to an indirect chain, so Queue users need to explicitly support this feature by calling Queue::is_indirect() and Queue::new_from_indirect(). Signed-off-by: Sergio Lopez <slp@redhat.com>
This commit is contained in:
committed by
Rob Bradford
parent
d7b0b9842d
commit
42937c9754
@@ -32,7 +32,7 @@ mod iommu;
|
||||
pub mod net;
|
||||
pub mod net_util;
|
||||
mod pmem;
|
||||
mod queue;
|
||||
pub mod queue;
|
||||
mod rng;
|
||||
pub mod vsock;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user