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

2025-02-26 Thread Cindy Lu
On Wed, Feb 26, 2025 at 5:05 PM Stefano Garzarella wrote: > > On Sun, Feb 23, 2025 at 11:36:20PM +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. > >Thi

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

2025-02-26 Thread Stefano Garzarella
On Sun, Feb 23, 2025 at 11:36:20PM +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 will be c

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

2025-02-26 Thread Stefano Garzarella
On Wed, 26 Feb 2025 at 09:50, Michael S. Tsirkin wrote: > > On Wed, Feb 26, 2025 at 09:46:06AM +0100, Stefano Garzarella wrote: > > Hi Cindy, > > > > On Wed, 26 Feb 2025 at 07:14, Cindy Lu wrote: > > > > > > On Tue, Feb 25, 2025 at 7:31 PM Stefano Garzarella > > > wrote: > > > > > > > > On Sun,

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

2025-02-26 Thread Michael S. Tsirkin
On Wed, Feb 26, 2025 at 09:46:06AM +0100, Stefano Garzarella wrote: > Hi Cindy, > > On Wed, 26 Feb 2025 at 07:14, Cindy Lu wrote: > > > > On Tue, Feb 25, 2025 at 7:31 PM Stefano Garzarella > > wrote: > > > > > > On Sun, Feb 23, 2025 at 11:36:20PM +0800, Cindy Lu wrote: > > > >Add a new UAPI to

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

2025-02-26 Thread Stefano Garzarella
Hi Cindy, On Wed, 26 Feb 2025 at 07:14, Cindy Lu wrote: > > On Tue, Feb 25, 2025 at 7:31 PM Stefano Garzarella > wrote: > > > > On Sun, Feb 23, 2025 at 11:36:20PM +0800, Cindy Lu wrote: > > >Add a new UAPI to enable setting the vhost device to task mode. > > >The userspace application can use V

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

2025-02-25 Thread Cindy Lu
On Tue, Feb 25, 2025 at 5:46 AM Michael S. Tsirkin wrote: > > better subject: > > vhost: uapi to control task mode (owner vs kthread) > > > On Sun, Feb 23, 2025 at 11:36:20PM +0800, Cindy Lu wrote: > > Add a new UAPI to enable setting the vhost device to task mode. > > better: > > Add a new UAPI t

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

2025-02-25 Thread Cindy Lu
On Tue, Feb 25, 2025 at 7:31 PM Stefano Garzarella wrote: > > On Sun, Feb 23, 2025 at 11:36:20PM +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. > >Thi

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

2025-02-25 Thread Stefano Garzarella
On Sun, Feb 23, 2025 at 11:36:20PM +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 will be c

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

2025-02-24 Thread Michael S. Tsirkin
better subject: vhost: uapi to control task mode (owner vs kthread) On Sun, Feb 23, 2025 at 11:36:20PM +0800, Cindy Lu wrote: > Add a new UAPI to enable setting the vhost device to task mode. better: Add a new UAPI to configure the vhost device to use the kthread mode > The userspace applica

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

2025-02-24 Thread Michael S. Tsirkin
On Sun, Feb 23, 2025 at 11:36:20PM +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 v6 5/6] vhost: Add new UAPI to support change to task mode

2025-02-23 Thread Jason Wang
On Sun, Feb 23, 2025 at 11:41 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