Re: A set of "standard" virtual devices?



Jeremy Fitzhardinge wrote:

So, what you're saying is:

1. assuming there's going to be a vast number of miscellaneous devices
2. it would be best if there were one per device rather than one per
hypervisor per device
3. so we'd have one linux device driver

But this implies that the work is just pushed off into all the
hypervisors to support this new device over the generic interface;
there's no overall reduction of code or complexity, other than making
"wc" on the kernel source smaller.


Sure there is, assuming you deal about heterogenous clients. I'm not sure Xen is (although that is, as far as I understand, being remedied), which might explain your different perspective.

Consider that this may not even be about Linux -- having these standard devices would enable, say, 'doze device drivers to be written and shared.

That said, something like USB is probably the best bet for this kind of
low-performance device. I think. Not that I really know anything about
USB.

USB is evil in the extreme for this kind of stuff. Although in theory you can have any HCI you want, in practice the ones that are implemented requires a very complex framework for full compatiblity.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • USB Device Driver Source Code (for Sale)
    ... USB Video Device Driver ... - Stream Interface for HID Device Driver ...
    (microsoft.public.windowsce.platbuilder)
  • Re: OS independent , Platform independent USB device driver
    ... the kernel-level interfaces to user-mode. ... you really do have to write a user-mode device driver. ... on the USB spec. ...
    (comp.os.linux.development.system)
  • Re: Do I need a new power supply?
    ... The BSO messages say device error or device driver error. ... USB hub from monitor ... if you need the BSOD message ... If the name of a device driver is mentioned for each BSOD, ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: USB ?
    ... device driver for the USB device. ... device driver, or the USB protocol specification for the device so that you ... functions createfile, writefile, readfile and deviceiocontrol to communicate ... I saw System.IO.Ports can now communicate with COM ports. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: USB device driver resources
    ... Since few WM5 devices can be USB hosts, ... Paul T. ... I'm being involved in development of an USB device driver for Windows ...
    (microsoft.public.windowsce.platbuilder)