[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [RFC 03/10] vdpa: add the infrastructure of vdpa-dev
|
From: |
Longpeng (Mike, Cloud Infrastructure Service Product Dept.) |
|
Subject: |
RE: [RFC 03/10] vdpa: add the infrastructure of vdpa-dev |
|
Date: |
Thu, 6 Jan 2022 01:22:19 +0000 |
> -----Original Message-----
> From: Stefan Hajnoczi [mailto:stefanha@redhat.com]
> Sent: Wednesday, January 5, 2022 5:49 PM
> To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
> <longpeng2@huawei.com>
> Cc: mst@redhat.com; jasowang@redhat.com; sgarzare@redhat.com;
> cohuck@redhat.com; pbonzini@redhat.com; Gonglei (Arei)
> <arei.gonglei@huawei.com>; Yechuan <yechuan@huawei.com>; Huangzhichao
> <huangzhichao@huawei.com>; qemu-devel@nongnu.org
> Subject: Re: [RFC 03/10] vdpa: add the infrastructure of vdpa-dev
>
> On Wed, Jan 05, 2022 at 08:58:53AM +0800, Longpeng(Mike) wrote:
> > +static const VirtioPCIDeviceTypeInfo vhost_vdpa_device_pci_info = {
> > + .base_name = TYPE_VHOST_VDPA_DEVICE_PCI,
> > + .generic_name = "vhost-vdpa-device-pci",
> > + .transitional_name = "vhost-vdpa-device-pci-transitional",
> > + .non_transitional_name = "vhost-vdpa-device-pci-non-transitional",
>
> Does vDPA support Transitional VIRTIO devices?
>
> I expected this device to support Modern devices only.
>
There's already a 0.95 vdpa driver (Alibaba ENI) in the kernel source and
supporting 0.95 devices is necessary for some older GuestOS.
I'm OK if other guys also approve of supporting 1.0+ devices only :)
> Stefan
- Re: [RFC 01/10] virtio: get class_id and pci device id by the virtio id, (continued)
[RFC 10/10] vdpa-dev: mark the device as unmigratable, Longpeng(Mike), 2022/01/04
[RFC 09/10] vdpa-dev: implement the set_status interface, Longpeng(Mike), 2022/01/04
[RFC 08/10] vdpa-dev: implement the get_features interface, Longpeng(Mike), 2022/01/04
[RFC 03/10] vdpa: add the infrastructure of vdpa-dev, Longpeng(Mike), 2022/01/04
[RFC 07/10] vdpa-dev: implement the get_config/set_config interface, Longpeng(Mike), 2022/01/04
[RFC 06/10] vdpa-dev: implement the unrealize interface, Longpeng(Mike), 2022/01/04
[RFC 04/10] vdpa-dev: implement the instance_init/class_init interface, Longpeng(Mike), 2022/01/04