• R
    virtio: simplify config mechanism. · a586d4f6
    Rusty Russell 提交于
    Previously we used a type/len pair within the config space, but this
    seems overkill.  We now simply define a structure which represents the
    layout in the config space: the config space can now only be extended
    at the end.
    
    The main driver-visible changes:
    1) We indicate what fields are present with an explicit feature bit.
    2) Virtqueues are explicitly numbered, and not in the config space.
    Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
    a586d4f6
virtio.c 4.3 KB