Re: [PATCH v3 5/5] vhost-vdpa: add callback function for configure interrupt

2021-01-27 Thread Jason Wang
On 2021/1/27 下午3:51, Cindy Lu wrote: + /*set the fd call back to vdpa driver*/ I guess checkpatch.pl might warn here. Please try to silent checkpath.pl before submitting patches. Actually I do have run this script, but seems not warned here. I will pay attention next time Oh right, I

Re: [PATCH v3 5/5] vhost-vdpa: add callback function for configure interrupt

2021-01-26 Thread Cindy Lu
On Wed, Jan 27, 2021 at 1:47 PM Jason Wang wrote: > > > On 2021/1/26 下午3:42, Cindy Lu wrote: > > Add call back function for configure interrupt. > > Set the notifier's fd to the kernel driver when vdpa start. > > also set -1 while vdpa stop. then the kernel will release > > the related resource >

Re: [PATCH v3 5/5] vhost-vdpa: add callback function for configure interrupt

2021-01-26 Thread Jason Wang
On 2021/1/26 下午3:42, Cindy Lu wrote: Add call back function for configure interrupt. Set the notifier's fd to the kernel driver when vdpa start. also set -1 while vdpa stop. then the kernel will release the related resource Signed-off-by: Cindy Lu --- hw/virtio/trace-events| 2

Re: [PATCH v3 5/5] vhost-vdpa: add callback function for configure interrupt

2021-01-26 Thread Cindy Lu
On Tue, Jan 26, 2021 at 10:53 PM Stefano Garzarella wrote: > > On Tue, Jan 26, 2021 at 03:42:54PM +0800, Cindy Lu wrote: > >Add call back function for configure interrupt. > >Set the notifier's fd to the kernel driver when vdpa start. > >also set -1 while vdpa stop. then the kernel will release >

Re: [PATCH v3 5/5] vhost-vdpa: add callback function for configure interrupt

2021-01-26 Thread Stefano Garzarella
On Tue, Jan 26, 2021 at 03:42:54PM +0800, Cindy Lu wrote: Add call back function for configure interrupt. Set the notifier's fd to the kernel driver when vdpa start. also set -1 while vdpa stop. then the kernel will release the related resource Signed-off-by: Cindy Lu --- hw/virtio/trace-events

[PATCH v3 5/5] vhost-vdpa: add callback function for configure interrupt

2021-01-25 Thread Cindy Lu
Add call back function for configure interrupt. Set the notifier's fd to the kernel driver when vdpa start. also set -1 while vdpa stop. then the kernel will release the related resource Signed-off-by: Cindy Lu --- hw/virtio/trace-events| 2 ++ hw/virtio/vhost-vdpa.c| 37