Re: [RFC 03/10] vdpa: add the infrastructure of vdpa-dev

2022-01-06 Thread Jason Wang
ei (Arei) > > > ; Yechuan ; Huangzhichao > > > ; 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: > > >

Re: [RFC 03/10] vdpa: add the infrastructure of vdpa-dev

2022-01-06 Thread Stefan Hajnoczi
ng (Mike, Cloud Infrastructure Service Product Dept.) > > > > Cc: m...@redhat.com; jasow...@redhat.com; sgarz...@redhat.com; > > coh...@redhat.com; pbonz...@redhat.com; Gonglei (Arei) > > ; Yechuan ; Huangzhichao > > ; qemu-devel@nongnu.org > > Subject: Re: [RFC 03/10

RE: [RFC 03/10] vdpa: add the infrastructure of vdpa-dev

2022-01-05 Thread longpeng2--- via
...@redhat.com; pbonz...@redhat.com; Gonglei (Arei) > ; Yechuan ; Huangzhichao > ; 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 VirtioPC

Re: [RFC 03/10] vdpa: add the infrastructure of vdpa-dev

2022-01-05 Thread Stefan Hajnoczi
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-vd

[RFC 03/10] vdpa: add the infrastructure of vdpa-dev

2022-01-04 Thread Longpeng(Mike)
From: Longpeng Add the infrastructure of vdpa-dev (the generic vDPA device), we can add a generic vDPA device as follow: -device vhost-vdpa-device-pci,vdpa-dev=/dev/vhost-vdpa-X Signed-off-by: Longpeng --- hw/virtio/Kconfig| 5 hw/virtio/meson.build| 2 ++ hw/virti