• Rusty Russell's avatar
    virtio: simplify config mechanism. · a586d4f6
    Rusty Russell authored
    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: default avatarRusty Russell <rusty@rustcorp.com.au>
    a586d4f6
virtio_blk.c 7.04 KB