Il 12/12/2012 22:22, Michael S. Tsirkin ha scritto: > > > It should be equally > > > valid to just use the PCI transport plugged into a VirtioDevice, > > > both of which were created by the user with -device [and for > > > new transports, separate transport and backend should be the > > > standard]. That means the virtio-bus interface needs a way for > > > the backend to announce to the transport what it is so that > > > the PCI transport can set the right PCI IDs. > > > > There is such an interface (the device_id, aka VIRTIO_ID_*). Then > > virtio-pci needs a mapping from the device_id to the (default) > > vendor_id/device_id/class tuple. > > At least device id and vedor id are easy.
Class too, this is a new device virtio-pci so it doesn't need to support old machine types. Paolo