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

2021-01-13 Thread Cindy Lu
On Thu, Jan 14, 2021 at 12:17 AM Michael S. Tsirkin wrote: > > On Wed, Jan 13, 2021 at 11:45:40PM +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 when vdpa stop. then the kernel will release

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

2021-01-13 Thread Cindy Lu
On Thu, Jan 14, 2021 at 12:46 PM Jason Wang wrote: > > > On 2021/1/13 下午11:45, 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 when vdpa stop. then the kernel will release > > the related聽resource聽

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

2021-01-13 Thread Jason Wang
On 2021/1/13 涓嬪崍11:45, 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 when vdpa stop. then the kernel will release the related鑱絩esource鑱� Signed-off-by: Cindy Lu --- hw/virtio/trace-events|

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

2021-01-13 Thread Michael S. Tsirkin
On Wed, Jan 13, 2021 at 11:45:40PM +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 when vdpa stop. then the kernel will release > the related聽resource聽 Something weird happened to the commit log he

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

2021-01-13 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 when vdpa stop. then the kernel will release the related鑱絩esource鑱� Signed-off-by: Cindy Lu --- hw/virtio/trace-events| 2 ++ hw/virtio/vhost-vdpa.c| 2