Re: [PATCH v5 5/6] vhost: Add new UAPI to support change to task mode

2025-01-08 Thread Michael S. Tsirkin
On Thu, Jan 02, 2025 at 11:36:58AM +0800, Jason Wang wrote: > On Mon, Dec 30, 2024 at 8:45 PM Cindy Lu wrote: > > > > Add a new UAPI to enable setting the vhost device to task mode. > > The userspace application can use VHOST_SET_INHERIT_FROM_OWNER > > to configure the mode if necessary. > > This

Re: [PATCH v5 5/6] vhost: Add new UAPI to support change to task mode

2025-01-08 Thread Michael S. Tsirkin
On Mon, Dec 30, 2024 at 08:43:52PM +0800, Cindy Lu wrote: > Add a new UAPI to enable setting the vhost device to task mode. > The userspace application can use VHOST_SET_INHERIT_FROM_OWNER > to configure the mode if necessary. > This setting must be applied before VHOST_SET_OWNER, as the worker > w

Re: [PATCH v5 5/6] vhost: Add new UAPI to support change to task mode

2025-01-07 Thread Cindy Lu
On Thu, Jan 2, 2025 at 11:37 AM Jason Wang wrote: > > On Mon, Dec 30, 2024 at 8:45 PM Cindy Lu wrote: > > > > Add a new UAPI to enable setting the vhost device to task mode. > > The userspace application can use VHOST_SET_INHERIT_FROM_OWNER > > to configure the mode if necessary. > > This setting

Re: [PATCH v5 5/6] vhost: Add new UAPI to support change to task mode

2025-01-01 Thread Jason Wang
On Mon, Dec 30, 2024 at 8:45 PM Cindy Lu wrote: > > Add a new UAPI to enable setting the vhost device to task mode. > The userspace application can use VHOST_SET_INHERIT_FROM_OWNER > to configure the mode if necessary. > This setting must be applied before VHOST_SET_OWNER, as the worker > will be

[PATCH v5 5/6] vhost: Add new UAPI to support change to task mode

2024-12-30 Thread Cindy Lu
Add a new UAPI to enable setting the vhost device to task mode. The userspace application can use VHOST_SET_INHERIT_FROM_OWNER to configure the mode if necessary. This setting must be applied before VHOST_SET_OWNER, as the worker will be created in the VHOST_SET_OWNER function Signed-off-by: Cindy