Skip to content
Snippets Groups Projects
Commit a586d4f6 authored by Rusty Russell's avatar Rusty Russell
Browse files

virtio: simplify config mechanism.


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>
parent f35d9d8a
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment