Re: [PATCH v6 1/2] vhost-user: remove VirtQ notifier restore

2022-02-07 Thread Xueming(Steven) Li
v7 sent with more description, please check. Thanks, Xueming On Fri, 2022-02-04 at 07:25 -0500, Michael S. Tsirkin wrote: I dropped this for now as I'm a bit lost with this patchset. Cc Raphael maybe he'll understand it better. On Wed, Jan 12, 2022 at 03:05:15PM +, Xueming(Steven) Li w

Re: [PATCH v6 1/2] vhost-user: remove VirtQ notifier restore

2022-02-07 Thread Xueming(Steven) Li
v7 sent with more description, please check. Thanks, Xueming On Fri, 2022-02-04 at 07:25 -0500, Michael S. Tsirkin wrote: > I dropped this for now as I'm a bit lost with this patchset. > Cc Raphael maybe he'll understand it better. > > On Wed, Jan 12, 2022 at 03:05:15PM +, Xueming(Steven) Li

Re: [PATCH v6 1/2] vhost-user: remove VirtQ notifier restore

2022-02-04 Thread Michael S. Tsirkin
I dropped this for now as I'm a bit lost with this patchset. Cc Raphael maybe he'll understand it better. On Wed, Jan 12, 2022 at 03:05:15PM +, Xueming(Steven) Li wrote: > On Wed, 2021-11-03 at 16:30 -0400, Michael S. Tsirkin wrote: > > On Wed, Nov 03, 2021 at 02:48:41PM +, Xueming(Steven)

Re: [PATCH v6 1/2] vhost-user: remove VirtQ notifier restore

2022-01-12 Thread Xueming(Steven) Li
On Wed, 2021-11-03 at 16:30 -0400, Michael S. Tsirkin wrote: > On Wed, Nov 03, 2021 at 02:48:41PM +, Xueming(Steven) Li wrote: > > On Tue, 2021-11-02 at 02:49 -0400, Michael S. Tsirkin wrote: > > > On Tue, Nov 02, 2021 at 06:08:39AM +, Xueming(Steven) Li wrote: > > > > On Mon, 2021-11-01 at

Re: [PATCH v6 1/2] vhost-user: remove VirtQ notifier restore

2021-11-03 Thread Michael S. Tsirkin
On Wed, Nov 03, 2021 at 02:48:41PM +, Xueming(Steven) Li wrote: > On Tue, 2021-11-02 at 02:49 -0400, Michael S. Tsirkin wrote: > > On Tue, Nov 02, 2021 at 06:08:39AM +, Xueming(Steven) Li wrote: > > > On Mon, 2021-11-01 at 17:06 -0400, Michael S. Tsirkin wrote: > > > > On Mon, Nov 01, 2021

Re: [PATCH v6 1/2] vhost-user: remove VirtQ notifier restore

2021-11-03 Thread Xueming(Steven) Li
On Tue, 2021-11-02 at 02:49 -0400, Michael S. Tsirkin wrote: > On Tue, Nov 02, 2021 at 06:08:39AM +, Xueming(Steven) Li wrote: > > On Mon, 2021-11-01 at 17:06 -0400, Michael S. Tsirkin wrote: > > > On Mon, Nov 01, 2021 at 04:38:12PM +0800, Xueming Li wrote: > > > > When vhost-user vdpa client s

Re: [PATCH v6 1/2] vhost-user: remove VirtQ notifier restore

2021-11-01 Thread Michael S. Tsirkin
On Tue, Nov 02, 2021 at 06:08:39AM +, Xueming(Steven) Li wrote: > On Mon, 2021-11-01 at 17:06 -0400, Michael S. Tsirkin wrote: > > On Mon, Nov 01, 2021 at 04:38:12PM +0800, Xueming Li wrote: > > > When vhost-user vdpa client suspend, backend may close all resources, > > > VQ notifier mmap addre

Re: [PATCH v6 1/2] vhost-user: remove VirtQ notifier restore

2021-11-01 Thread Xueming(Steven) Li
On Mon, 2021-11-01 at 17:06 -0400, Michael S. Tsirkin wrote: > On Mon, Nov 01, 2021 at 04:38:12PM +0800, Xueming Li wrote: > > When vhost-user vdpa client suspend, backend may close all resources, > > VQ notifier mmap address become invalid, restore MR which contains > > the invalid address is wron

Re: [PATCH v6 1/2] vhost-user: remove VirtQ notifier restore

2021-11-01 Thread Michael S. Tsirkin
On Mon, Nov 01, 2021 at 04:38:12PM +0800, Xueming Li wrote: > When vhost-user vdpa client suspend, backend may close all resources, > VQ notifier mmap address become invalid, restore MR which contains > the invalid address is wrong. vdpa client will set VQ notifier after > reconnect. > > This patc

[PATCH v6 1/2] vhost-user: remove VirtQ notifier restore

2021-11-01 Thread Xueming Li
When vhost-user vdpa client suspend, backend may close all resources, VQ notifier mmap address become invalid, restore MR which contains the invalid address is wrong. vdpa client will set VQ notifier after reconnect. This patch removes VQ notifier restore and related flags to avoid reusing invalid