Re: [PATCH v3 1/2] vhost: destroy device when all vqs are inactive

2024-04-29 Thread Xuan Zhuo
On Mon, 29 Apr 2024 09:27:42 -0700, Stephen Hemminger wrote: > On Tue, 11 Oct 2022 18:44:28 +0200 > Maxime Coquelin wrote: > > > On 9/12/22 05:36, Kangjie Xu wrote: > > > We change the behavior of vhost_user_get_vring_base(). Previosly, > > > destroying a virtqueue will cause the whole device to

Re: [PATCH v3 1/2] vhost: destroy device when all vqs are inactive

2024-04-29 Thread Stephen Hemminger
On Tue, 11 Oct 2022 18:44:28 +0200 Maxime Coquelin wrote: > On 9/12/22 05:36, Kangjie Xu wrote: > > We change the behavior of vhost_user_get_vring_base(). Previosly, > > destroying a virtqueue will cause the whole device to be destroyed. > > The behavior is not specified in the vhost-user protoco

Re: [PATCH v3 1/2] vhost: destroy device when all vqs are inactive

2022-10-11 Thread Maxime Coquelin
On 9/12/22 05:36, Kangjie Xu wrote: We change the behavior of vhost_user_get_vring_base(). Previosly, destroying a virtqueue will cause the whole device to be destroyed. The behavior is not specified in the vhost-user protocol. Thus, we refactor this part. The device will be destroyed only wh

[PATCH v3 1/2] vhost: destroy device when all vqs are inactive

2022-09-11 Thread Kangjie Xu
We change the behavior of vhost_user_get_vring_base(). Previosly, destroying a virtqueue will cause the whole device to be destroyed. The behavior is not specified in the vhost-user protocol. Thus, we refactor this part. The device will be destroyed only when all virtqueues in the device are going