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

2024-11-25 Thread Mike Christie
On 11/5/24 3:39 AM, Jason Wang wrote: > On Tue, Nov 5, 2024 at 3:28 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 befo

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

2024-11-07 Thread Cindy Lu
On Thu, Nov 7, 2024 at 6:03 PM Stefano Garzarella wrote: > > On Thu, Nov 07, 2024 at 03:12:49PM +0800, Cindy Lu wrote: > >On Tue, Nov 5, 2024 at 6:32 PM Stefano Garzarella > >wrote: > >> > >> On Tue, Nov 05, 2024 at 03:25:26PM +0800, Cindy Lu wrote: > >> >Add a new UAPI to enable setting the vho

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

2024-11-07 Thread Stefano Garzarella
On Thu, Nov 07, 2024 at 03:12:49PM +0800, Cindy Lu wrote: On Tue, Nov 5, 2024 at 6:32 PM Stefano Garzarella wrote: On Tue, Nov 05, 2024 at 03:25:26PM +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_FRO

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

2024-11-06 Thread Cindy Lu
On Tue, Nov 5, 2024 at 6:32 PM Stefano Garzarella wrote: > > On Tue, Nov 05, 2024 at 03:25:26PM +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

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

2024-11-05 Thread Michael S. Tsirkin
On Tue, Nov 05, 2024 at 03:25:26PM +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 v3 7/9] vhost: Add new UAPI to support change to task mode

2024-11-05 Thread Michael S. Tsirkin
On Tue, Nov 05, 2024 at 03:25:26PM +0800, Cindy Lu wrote: > index b95dd84eef2d..1e192038633d 100644 > --- a/include/uapi/linux/vhost.h > +++ b/include/uapi/linux/vhost.h > @@ -235,4 +235,6 @@ > */ > #define VHOST_VDPA_GET_VRING_SIZE_IOWR(VHOST_VIRTIO, 0x82, \ >

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

2024-11-05 Thread Stefano Garzarella
On Tue, Nov 05, 2024 at 03:25:26PM +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 v3 7/9] vhost: Add new UAPI to support change to task mode

2024-11-05 Thread Jason Wang
On Tue, Nov 5, 2024 at 3:28 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 c

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

2024-11-04 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