Re: A set of "standard" virtual devices?

Roland Dreier
2007-04-02T21:49:57Z

> > > Obviously, anyone who adheres to the published interface can
> > > use one of these VID:DIDs -- as far as I'm concerned, even
> > > hardware vendors; we'll use the SID to distinguish between
> > > implementations.

> > I think for this to work, some attempt at a conformance testing
> > program is required...

> How would you propose one goes about that? It seems to me the only
> plausible thing is "does it work with the unmodified driver included
> in the Linux kernel?" What else can one realistically do?

Well, even "works with the Linux driver" can be formalized with a test
plan that describes how to say it works. But one can also imagine a
test harness that drives the virtual hardware with synthetic test data
and makes sure it does what it's supposed to.

It also helps when writing the spec to try and write lots of anal
"compliance statements" that can be tested in the suite.

But really, I just think we need a stick to shake at people to force
them to fix bugs in their virtual devices, to avoid a big mess of
quirks that defeats the purpose of the whole exercise.

- R.