Re: [PATCH 1/3] vhost: Refactor vhost_reset_device() in VhostOps

2022-04-11 Thread Jason Wang
On Sat, Apr 9, 2022 at 1:17 AM Si-Wei Liu wrote: > > > > On 4/8/2022 1:38 AM, Michael Qiu wrote: > > > > > > 在 2022/4/7 15:35, Jason Wang 写道: > >> > >> 在 2022/4/2 下午1:14, Michael Qiu 写道: > >>> > >>> > >>> On 2022/4/2 10:38, Jason Wang wrote: > > 在 2022/4/1 下午7:06, Michael Qiu 写道: > >

Re: [PATCH 1/3] vhost: Refactor vhost_reset_device() in VhostOps

2022-04-08 Thread Si-Wei Liu
On 4/8/2022 1:38 AM, Michael Qiu wrote: 在 2022/4/7 15:35, Jason Wang 写道: 在 2022/4/2 下午1:14, Michael Qiu 写道: On 2022/4/2 10:38, Jason Wang wrote: 在 2022/4/1 下午7:06, Michael Qiu 写道: Currently in vhost framwork, vhost_reset_device() is misnamed. Actually, it should be vhost_reset_owner(

Re: [PATCH 1/3] vhost: Refactor vhost_reset_device() in VhostOps

2022-04-08 Thread Michael Qiu
在 2022/4/7 15:35, Jason Wang 写道: 在 2022/4/2 下午1:14, Michael Qiu 写道: On 2022/4/2 10:38, Jason Wang wrote: 在 2022/4/1 下午7:06, Michael Qiu 写道: Currently in vhost framwork, vhost_reset_device() is misnamed. Actually, it should be vhost_reset_owner(). In vhost user, it make compatible with

Re: [PATCH 1/3] vhost: Refactor vhost_reset_device() in VhostOps

2022-04-07 Thread Jason Wang
在 2022/4/2 下午1:14, Michael Qiu 写道: On 2022/4/2 10:38, Jason Wang wrote: 在 2022/4/1 下午7:06, Michael Qiu 写道: Currently in vhost framwork, vhost_reset_device() is misnamed. Actually, it should be vhost_reset_owner(). In vhost user, it make compatible with reset device ops, but vhost kernel d

Re: [PATCH 1/3] vhost: Refactor vhost_reset_device() in VhostOps

2022-04-01 Thread Michael Qiu
On 2022/4/2 10:38, Jason Wang wrote: 在 2022/4/1 下午7:06, Michael Qiu 写道: Currently in vhost framwork, vhost_reset_device() is misnamed. Actually, it should be vhost_reset_owner(). In vhost user, it make compatible with reset device ops, but vhost kernel does not compatible with it, for vhost

Re: [PATCH 1/3] vhost: Refactor vhost_reset_device() in VhostOps

2022-04-01 Thread Jason Wang
在 2022/4/1 下午7:06, Michael Qiu 写道: Currently in vhost framwork, vhost_reset_device() is misnamed. Actually, it should be vhost_reset_owner(). In vhost user, it make compatible with reset device ops, but vhost kernel does not compatible with it, for vhost vdpa, it only implement reset device ac

Re: [PATCH 1/3] vhost: Refactor vhost_reset_device() in VhostOps

2022-04-01 Thread Michael Qiu
On 2022/4/2 8:44, Si-Wei Liu wrote: On 4/1/2022 4:06 AM, Michael Qiu wrote: Currently in vhost framwork, vhost_reset_device() is misnamed. Actually, it should be vhost_reset_owner(). In vhost user, it make compatible with reset device ops, but vhost kernel does not compatible with it, for

Re: [PATCH 1/3] vhost: Refactor vhost_reset_device() in VhostOps

2022-04-01 Thread Si-Wei Liu
On 4/1/2022 4:06 AM, Michael Qiu wrote: Currently in vhost framwork, vhost_reset_device() is misnamed. Actually, it should be vhost_reset_owner(). In vhost user, it make compatible with reset device ops, but vhost kernel does not compatible with it, for vhost vdpa, it only implement reset dev