Re: [RFC v2 5/9] vhost-vdpa: implement vhost-vdpa backend

2020-05-25 Thread Stefan Hajnoczi
On Mon, May 25, 2020 at 4:34 PM Cindy Lu wrote: > On Thu, May 21, 2020 at 8:40 PM Stefan Hajnoczi wrote: > > On Sat, May 09, 2020 at 12:32:14AM +0800, Cindy Lu wrote: > > > From: Tiwei Bie > > > > > > Currently we have 2 types of vhost backends in QEMU: vhost kernel and > > > vhost-user. The abo

Re: [RFC v2 5/9] vhost-vdpa: implement vhost-vdpa backend

2020-05-25 Thread Cindy Lu
On Thu, May 21, 2020 at 8:40 PM Stefan Hajnoczi wrote: > > On Sat, May 09, 2020 at 12:32:14AM +0800, Cindy Lu wrote: > > From: Tiwei Bie > > > > Currently we have 2 types of vhost backends in QEMU: vhost kernel and > > vhost-user. The above patch provides a generic device for vDPA purpose, > > th

Re: [RFC v2 5/9] vhost-vdpa: implement vhost-vdpa backend

2020-05-21 Thread Stefan Hajnoczi
On Sat, May 09, 2020 at 12:32:14AM +0800, Cindy Lu wrote: > From: Tiwei Bie > > Currently we have 2 types of vhost backends in QEMU: vhost kernel and > vhost-user. The above patch provides a generic device for vDPA purpose, > this vDPA device exposes to user space a non-vendor-specific configurat

Re: [RFC v2 5/9] vhost-vdpa: implement vhost-vdpa backend

2020-05-09 Thread Cindy Lu
On Sat, May 9, 2020 at 11:00 AM Jason Wang wrote: > > > On 2020/5/9 上午12:32, Cindy Lu wrote: > > From: Tiwei Bie > > > > Currently we have 2 types of vhost backends in QEMU: vhost kernel and > > vhost-user. The above patch provides a generic device for vDPA purpose, > > this vDPA device exposes t

Re: [RFC v2 5/9] vhost-vdpa: implement vhost-vdpa backend

2020-05-08 Thread Jason Wang
On 2020/5/9 上午11:00, Jason Wang wrote: +    .vhost_get_config  = vhost_vdpa_get_config, +    .vhost_set_config = vhost_vdpa_set_config, Btw, I don't see the actual user of those two helpers? Thanks

Re: [RFC v2 5/9] vhost-vdpa: implement vhost-vdpa backend

2020-05-08 Thread Jason Wang
On 2020/5/9 上午12:32, Cindy Lu wrote: From: Tiwei Bie Currently we have 2 types of vhost backends in QEMU: vhost kernel and vhost-user. The above patch provides a generic device for vDPA purpose, this vDPA device exposes to user space a non-vendor-specific configuration interface for setting u

[RFC v2 5/9] vhost-vdpa: implement vhost-vdpa backend

2020-05-08 Thread Cindy Lu
From: Tiwei Bie Currently we have 2 types of vhost backends in QEMU: vhost kernel and vhost-user. The above patch provides a generic device for vDPA purpose, this vDPA device exposes to user space a non-vendor-specific configuration interface for setting up a vhost HW accelerator, this patch set