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: Thu, 13 Dec 2012 10:37:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

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



reply via email to

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