Il 12/12/2012 18:58, Peter Maydell 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. Paolo