Re: [PATCH 11/16] vhost: introduce restart and release for vhost_dev's vqs

2022-07-27 Thread Kangjie Xu
在 2022/7/27 12:47, Jason Wang 写道: On Tue, Jul 26, 2022 at 1:13 PM Kangjie Xu wrote: 在 2022/7/26 12:13, Jason Wang 写道: 在 2022/7/18 19:17, Kangjie Xu 写道: Introduce vhost_dev_virtqueue_restart(), which can restart the virtqueue when the vhost has already started running. Meanwhile,

Re: [PATCH 11/16] vhost: introduce restart and release for vhost_dev's vqs

2022-07-26 Thread Kangjie Xu
在 2022/7/26 12:13, Jason Wang 写道: 在 2022/7/18 19:17, Kangjie Xu 写道: Introduce vhost_dev_virtqueue_restart(), which can restart the virtqueue when the vhost has already started running. Meanwhile, vhost_dev_virtqueue_release(), which can ummap the vrings and the desc of a specific vq of a

Re: [PATCH 11/16] vhost: introduce restart and release for vhost_dev's vqs

2022-07-25 Thread Jason Wang
在 2022/7/18 19:17, Kangjie Xu 写道: Introduce vhost_dev_virtqueue_restart(), which can restart the virtqueue when the vhost has already started running. Meanwhile, vhost_dev_virtqueue_release(), which can ummap the vrings and the desc of a specific vq of a device. Combining the two functions,