virtio: simplify config mechanism.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 5 Feb 2008 04:49:56 +0000 (23:49 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Feb 2008 12:49:57 +0000 (23:49 +1100)
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: Rusty Russell <rusty@rustcorp.com.au>

No differences found