Re: [PATCH v4 1/4] virtio:add support in configure interrupt

2021-03-28 Thread Cindy Lu
On Fri, Mar 26, 2021 at 4:29 PM Jason Wang wrote: > > > 在 2021/3/25 下午3:15, Cindy Lu 写道: > > +enum virtio_config_status { > +VIRTIO_CONFIG_SUPPORT, > +VIRTIO_CONFIG_WORK, > +VIRTIO_CONFIG_STOP, > +VIRTIO_CONFIG_STATUS_UNKNOWN, > > Any reason for this extra state? I think we can kno

Re: [PATCH v4 1/4] virtio:add support in configure interrupt

2021-03-26 Thread Jason Wang
在 2021/3/25 下午3:15, Cindy Lu 写道: +enum virtio_config_status { +VIRTIO_CONFIG_SUPPORT, +VIRTIO_CONFIG_WORK, +VIRTIO_CONFIG_STOP, +VIRTIO_CONFIG_STATUS_UNKNOWN, Any reason for this extra state? I think we can know whether the config interrupt is being used through a Thanks The

Re: [PATCH v4 1/4] virtio:add support in configure interrupt

2021-03-25 Thread Cindy Lu
On Wed, Mar 24, 2021 at 2:30 PM Jason Wang wrote: > > > 在 2021/3/23 上午9:56, Cindy Lu 写道: > > Add configure notifier support in virtio and related driver > > When peer is vhost vdpa, setup the configure interrupt function > > vhost_net_start and release the resource when vhost_net_stop > > > So thi

Re: [PATCH v4 1/4] virtio:add support in configure interrupt

2021-03-23 Thread Jason Wang
在 2021/3/23 上午9:56, Cindy Lu 写道: Add configure notifier support in virtio and related driver When peer is vhost vdpa, setup the configure interrupt function vhost_net_start and release the resource when vhost_net_stop So this patch doesn't complie, please fix. Signed-off-by: Cindy Lu --

[PATCH v4 1/4] virtio:add support in configure interrupt

2021-03-22 Thread Cindy Lu
Add configure notifier support in virtio and related driver When peer is vhost vdpa, setup the configure interrupt function vhost_net_start and release the resource when vhost_net_stop Signed-off-by: Cindy Lu --- hw/display/vhost-user-gpu.c| 14 +++ hw/net/vhost_net.c | 1