qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH v7 7/8] virtio-pci-blk : Switch to new API.


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC PATCH v7 7/8] virtio-pci-blk : Switch to new API.
Date: Wed, 12 Dec 2012 19:03:21 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]