Re: A set of "standard" virtual devices?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Roland Dreier
Date: Monday, April 2, 2007 - 2:49 pm

> > > 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.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
A set of "standard" virtual devices?, H. Peter Anvin, (Mon Apr 2, 1:18 pm)
Re: A set of "standard" virtual devices?, Roland Dreier, (Mon Apr 2, 1:31 pm)
Re: A set of "standard" virtual devices?, H. Peter Anvin, (Mon Apr 2, 1:33 pm)
Re: A set of "standard" virtual devices?, Jeremy Fitzhardinge, (Mon Apr 2, 1:56 pm)
Re: A set of "standard" virtual devices?, Andi Kleen, (Mon Apr 2, 2:12 pm)
Re: A set of "standard" virtual devices?, Jeff Garzik, (Mon Apr 2, 2:33 pm)
Re: A set of "standard" virtual devices?, Andi Kleen, (Mon Apr 2, 2:36 pm)
Re: A set of "standard" virtual devices?, Jeremy Fitzhardinge, (Mon Apr 2, 2:42 pm)
Re: A set of "standard" virtual devices?, Roland Dreier, (Mon Apr 2, 2:49 pm)
Re: A set of "standard" virtual devices?, Anthony Liguori, (Mon Apr 2, 2:53 pm)
Re: A set of "standard" virtual devices?, Jeremy Fitzhardinge, (Mon Apr 2, 3:04 pm)
Re: A set of "standard" virtual devices?, H. Peter Anvin, (Mon Apr 2, 3:10 pm)
Re: A set of "standard" virtual devices?, Jeff Garzik, (Mon Apr 2, 3:25 pm)
Re: A set of "standard" virtual devices?, H. Peter Anvin, (Mon Apr 2, 3:30 pm)
Re: A set of "standard" virtual devices?, Christian Borntraeger, (Tue Apr 3, 1:29 am)
Re: A set of "standard" virtual devices?, Andi Kleen, (Tue Apr 3, 1:30 am)
Re: A set of "standard" virtual devices?, Cornelia Huck, (Tue Apr 3, 2:17 am)
Re: A set of "standard" virtual devices?, Andi Kleen, (Tue Apr 3, 2:26 am)
Re: A set of "standard" virtual devices?, Arnd Bergmann, (Tue Apr 3, 2:41 am)
Re: A set of "standard" virtual devices?, Cornelia Huck, (Tue Apr 3, 3:41 am)
Re: A set of "standard" virtual devices?, Cornelia Huck, (Tue Apr 3, 3:51 am)
Re: A set of "standard" virtual devices?, Arnd Bergmann, (Tue Apr 3, 5:15 am)
Re: A set of "standard" virtual devices?, Cornelia Huck, (Tue Apr 3, 6:39 am)
Re: A set of "standard" virtual devices?, Arnd Bergmann, (Tue Apr 3, 7:03 am)
Re: A set of "standard" virtual devices?, Adrian Bunk, (Tue Apr 3, 8:00 am)
Re: A set of "standard" virtual devices?, Cornelia Huck, (Tue Apr 3, 9:07 am)
Re: A set of "standard" virtual devices?, Arnd Bergmann, (Tue Apr 3, 10:50 am)
Re: A set of "standard" virtual devices?, Jeremy Fitzhardinge, (Tue Apr 3, 12:07 pm)
Re: A set of "standard" virtual devices?, Arnd Bergmann, (Tue Apr 3, 12:42 pm)
Re: A set of "standard" virtual devices?, Jeremy Fitzhardinge, (Tue Apr 3, 12:55 pm)
Re: A set of "standard" virtual devices?, H. Peter Anvin, (Tue Apr 3, 1:03 pm)
Re: A set of "standard" virtual devices?, Arnd Bergmann, (Tue Apr 3, 1:50 pm)
Re: A set of "standard" virtual devices?, Jeremy Fitzhardinge, (Tue Apr 3, 2:00 pm)
Re: A set of "standard" virtual devices?, H. Peter Anvin, (Tue Apr 3, 2:45 pm)
Re: A set of "standard" virtual devices?, Arnd Bergmann, (Tue Apr 3, 2:51 pm)
Re: A set of "standard" virtual devices?, H. Peter Anvin, (Tue Apr 3, 3:10 pm)
Re: A set of "standard" virtual devices?, Arnd Bergmann, (Tue Apr 3, 3:49 pm)
Re: A set of "standard" virtual devices?, H. Peter Anvin, (Tue Apr 3, 5:52 pm)
Re: A set of "standard" virtual devices?, Arnd Bergmann, (Wed Apr 4, 6:11 am)
Re: A set of "standard" virtual devices?, H. Peter Anvin, (Wed Apr 4, 8:50 am)