On Tue, Dec 18, 2012 at 03:59:59PM +0100, Paolo Bonzini wrote: > > It does seem frankly bizarre that adding a new transport requires > > knowing about all the backends (notice how s390-virtio-bus.c has > > to register types for each backend). The kernel gets the transport > > vs backend separation much cleaner and it was much easier to > > add the virtio support there. > > Yes, I agree. However, to some extent it's unavoidable. For example, > the PCI transport needs to know the class id for each backend.
PCI device ID too (they don't match virtio IDs). -- MST