Hi,

I have serval questions on "Indirect Descriptors" in the virtio spec:
1) Does len/16 is less than or equal to the Queue Size of the device?
    struct indirect_descriptor_table {
        /* The actual descriptors (16 bytes each) */
        struct virtq_desc desc[len / 16];
    };


2) The virtio spec said "A driver MUST NOT create a descriptor chain longer
    than the Queue Size of the device". If an IO request set N normal chained
    descriptors followed by a single descriptor with flag&VIRTQ_DESC_F_INDIRECT,
    which has M chained descriptors in the indirect descriptor table. Does it 
has the
    limitation that N+M must less than or equal to the Queue Size of the device?


Thanks,
YAN

Reply via email to