Messages in this thread | | | From | Andi Kleen <> | Subject | Re: A set of "standard" virtual devices? | Date | Mon, 2 Apr 2007 23:36:42 +0200 |
| |
On Monday 02 April 2007 23:33:01 Jeff Garzik wrote: > Andi Kleen wrote: > >> How would that work in the case where virtualized guests don't have a > >> visible PCI bus, and the virtual environment doesn't pretend to emulate > >> a PCI bus? > > > > If they emulated one with the appropiate device > > then distribution driver auto probing would just work transparently for them. > > Yes, but, ideally with paravirtualization you should be able to avoid > the overhead of emulating many major classes of device (storage, > network, RNG, etc.) by developing a low-overhead passthrough interface > that does not involve PCI at all.
The implementation wouldn't need to use PCI at all. There wouldn't even need to be PCI like registers internally. Just a pci device with an ID somewhere in sysfs. PCI with unique IDs is just a convenient and well established key into the driver module collection. Once you have the right driver it can do what it wants.
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |