Re: [PATCH v4 2/4] vhost-vdpa: add callback function for configure interrupt

2021-03-25 Thread Cindy Lu
On Wed, Mar 24, 2021 at 2:35 PM Jason Wang wrote: > > > 在 2021/3/23 上午9:56, 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 > > >

Re: [PATCH v4 2/4] vhost-vdpa: add callback function for configure interrupt

2021-03-23 Thread Jason Wang
在 2021/3/23 上午9:56, 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 ++

[PATCH v4 2/4] vhost-vdpa: add callback function for configure interrupt

2021-03-22 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| 40