Re: [PATCH v2 2/6] vhost-user: add op to enable or disable a single vring

2022-09-13 Thread Jason Wang
在 2022/9/12 11:10, Kangjie Xu 写道: There is only vhost_set_dev_enable op in VhostOps. Thus, we introduce the interface vhost_set_vring_enable to set the enable status for a single vring. Resetting a single vq will rely on this interface. Signed-off-by: Kangjie Xu Signed-off-by: Xuan Zhuo

[PATCH v2 2/6] vhost-user: add op to enable or disable a single vring

2022-09-11 Thread Kangjie Xu
There is only vhost_set_dev_enable op in VhostOps. Thus, we introduce the interface vhost_set_vring_enable to set the enable status for a single vring. Resetting a single vq will rely on this interface. Signed-off-by: Kangjie Xu Signed-off-by: Xuan Zhuo --- hw/virtio/vhost-user.c|