Re: [PATCH v2 7/7] vhost: Add new UAPI to support change to task mode

2024-10-16 Thread Jason Wang
On Tue, Oct 15, 2024 at 6:19 PM Michael S. Tsirkin wrote: > > On Mon, Oct 14, 2024 at 03:56:33PM -0500, Mike Christie wrote: > > On 10/3/24 8:58 PM, Cindy Lu wrote: > > > Add a new UAPI to support setting the vhost device to > > > use task mode. The user space application needs to use > > > VHOST_

Re: [PATCH v2 7/7] vhost: Add new UAPI to support change to task mode

2024-10-15 Thread Michael S. Tsirkin
On Mon, Oct 14, 2024 at 03:56:33PM -0500, Mike Christie wrote: > On 10/3/24 8:58 PM, Cindy Lu wrote: > > Add a new UAPI to support setting the vhost device to > > use task mode. The user space application needs to use > > VHOST_SET_INHERIT_FROM_OWNER to set the mode. > > This setting must be set be

Re: [PATCH v2 7/7] vhost: Add new UAPI to support change to task mode

2024-10-14 Thread Cindy Lu
On Tue, 15 Oct 2024 at 04:56, Mike Christie wrote: > > On 10/3/24 8:58 PM, Cindy Lu wrote: > > Add a new UAPI to support setting the vhost device to > > use task mode. The user space application needs to use > > VHOST_SET_INHERIT_FROM_OWNER to set the mode. > > This setting must be set before VHOS

Re: [PATCH v2 7/7] vhost: Add new UAPI to support change to task mode

2024-10-14 Thread Mike Christie
On 10/3/24 8:58 PM, Cindy Lu wrote: > Add a new UAPI to support setting the vhost device to > use task mode. The user space application needs to use > VHOST_SET_INHERIT_FROM_OWNER to set the mode. > This setting must be set before VHOST_SET_OWNER is set. > > Signed-off-by: Cindy Lu > --- > drive

Re: [PATCH v2 7/7] vhost: Add new UAPI to support change to task mode

2024-10-07 Thread Stefano Garzarella
On Fri, Oct 04, 2024 at 09:58:21AM GMT, Cindy Lu wrote: Add a new UAPI to support setting the vhost device to use task mode. The user space application needs to use VHOST_SET_INHERIT_FROM_OWNER to set the mode. This setting must be set before VHOST_SET_OWNER is set. Why? Signed-off-by: Cindy

[PATCH v2 7/7] vhost: Add new UAPI to support change to task mode

2024-10-03 Thread Cindy Lu
Add a new UAPI to support setting the vhost device to use task mode. The user space application needs to use VHOST_SET_INHERIT_FROM_OWNER to set the mode. This setting must be set before VHOST_SET_OWNER is set. Signed-off-by: Cindy Lu --- drivers/vhost/vhost.c | 18 +- inclu