Re: [RFC PATCH v2 2/8] vdpa: Save emulated features list in vhost_vdpa

2022-10-25 Thread Eugenio Perez Martin
On Tue, Oct 25, 2022 at 4:45 AM Jason Wang wrote: > > On Mon, Oct 24, 2022 at 5:26 PM Eugenio Perez Martin > wrote: > > > > On Mon, Oct 24, 2022 at 4:14 AM Jason Wang wrote: > > > > > > On Fri, Oct 21, 2022 at 4:56 PM Eugenio Perez Martin > > > wrote: > > > > > > > > On Fri, Oct 21, 2022 at 4:5

Re: [RFC PATCH v2 2/8] vdpa: Save emulated features list in vhost_vdpa

2022-10-24 Thread Jason Wang
On Mon, Oct 24, 2022 at 5:26 PM Eugenio Perez Martin wrote: > > On Mon, Oct 24, 2022 at 4:14 AM Jason Wang wrote: > > > > On Fri, Oct 21, 2022 at 4:56 PM Eugenio Perez Martin > > wrote: > > > > > > On Fri, Oct 21, 2022 at 4:57 AM Jason Wang wrote: > > > > > > > > On Thu, Oct 20, 2022 at 2:34 PM

Re: [RFC PATCH v2 2/8] vdpa: Save emulated features list in vhost_vdpa

2022-10-24 Thread Eugenio Perez Martin
On Mon, Oct 24, 2022 at 4:14 AM Jason Wang wrote: > > On Fri, Oct 21, 2022 at 4:56 PM Eugenio Perez Martin > wrote: > > > > On Fri, Oct 21, 2022 at 4:57 AM Jason Wang wrote: > > > > > > On Thu, Oct 20, 2022 at 2:34 PM Eugenio Perez Martin > > > wrote: > > > > > > > > On Thu, Oct 20, 2022 at 6:2

Re: [RFC PATCH v2 2/8] vdpa: Save emulated features list in vhost_vdpa

2022-10-23 Thread Jason Wang
On Fri, Oct 21, 2022 at 4:56 PM Eugenio Perez Martin wrote: > > On Fri, Oct 21, 2022 at 4:57 AM Jason Wang wrote: > > > > On Thu, Oct 20, 2022 at 2:34 PM Eugenio Perez Martin > > wrote: > > > > > > On Thu, Oct 20, 2022 at 6:23 AM Jason Wang wrote: > > > > > > > > On Wed, Oct 19, 2022 at 8:52 PM

Re: [RFC PATCH v2 2/8] vdpa: Save emulated features list in vhost_vdpa

2022-10-21 Thread Eugenio Perez Martin
On Fri, Oct 21, 2022 at 4:57 AM Jason Wang wrote: > > On Thu, Oct 20, 2022 at 2:34 PM Eugenio Perez Martin > wrote: > > > > On Thu, Oct 20, 2022 at 6:23 AM Jason Wang wrote: > > > > > > On Wed, Oct 19, 2022 at 8:52 PM Eugenio Pérez wrote: > > > > > > > > At this moment only _F_LOG is added ther

Re: [RFC PATCH v2 2/8] vdpa: Save emulated features list in vhost_vdpa

2022-10-20 Thread Jason Wang
On Thu, Oct 20, 2022 at 2:34 PM Eugenio Perez Martin wrote: > > On Thu, Oct 20, 2022 at 6:23 AM Jason Wang wrote: > > > > On Wed, Oct 19, 2022 at 8:52 PM Eugenio Pérez wrote: > > > > > > At this moment only _F_LOG is added there. > > > > > > However future patches add features that depend on the

Re: [RFC PATCH v2 2/8] vdpa: Save emulated features list in vhost_vdpa

2022-10-19 Thread Eugenio Perez Martin
On Thu, Oct 20, 2022 at 6:23 AM Jason Wang wrote: > > On Wed, Oct 19, 2022 at 8:52 PM Eugenio Pérez wrote: > > > > At this moment only _F_LOG is added there. > > > > However future patches add features that depend on the kind of device. > > In particular, only net devices can add VIRTIO_F_GUEST_A

Re: [RFC PATCH v2 2/8] vdpa: Save emulated features list in vhost_vdpa

2022-10-19 Thread Jason Wang
On Wed, Oct 19, 2022 at 8:52 PM Eugenio Pérez wrote: > > At this moment only _F_LOG is added there. > > However future patches add features that depend on the kind of device. > In particular, only net devices can add VIRTIO_F_GUEST_ANNOUNCE. So > let's allow vhost_vdpa creator to set custom emulat

[RFC PATCH v2 2/8] vdpa: Save emulated features list in vhost_vdpa

2022-10-19 Thread Eugenio Pérez
At this moment only _F_LOG is added there. However future patches add features that depend on the kind of device. In particular, only net devices can add VIRTIO_F_GUEST_ANNOUNCE. So let's allow vhost_vdpa creator to set custom emulated device features. Signed-off-by: Eugenio Pérez --- include/h