Re: [RFC v2 9/9] vhost: introduce vhost_set_vring_ready method

2020-05-08 Thread Jason Wang
On 2020/5/9 上午12:32, Cindy Lu wrote: From: Jason Wang Vhost-vdpa introduces VHOST_VDPA_SET_VRING_ENABLE which complies the semantic of queue_enable defined in virtio spec. This method can be used for preventing device from executing request for a specific virtqueue. This patch introduces the

[RFC v2 9/9] vhost: introduce vhost_set_vring_ready method

2020-05-08 Thread Cindy Lu
From: Jason Wang Vhost-vdpa introduces VHOST_VDPA_SET_VRING_ENABLE which complies the semantic of queue_enable defined in virtio spec. This method can be used for preventing device from executing request for a specific virtqueue. This patch introduces the vhost_ops for this. Note that, we've