On Mon, Apr 21, 2025 at 10:45 AM Cindy Lu <lulu@xxxxxxxxxx> wrote: > > Add a new UAPI to configure the vhost device to use the kthread mode. > The userspace application can use IOCTL VHOST_FORK_FROM_OWNER > to choose between owner and kthread mode if necessary. > This setting must be applied before VHOST_SET_OWNER, as the worker > will be created in the VHOST_SET_OWNER function. > > In addition, the VHOST_NEW_WORKER requires the inherit_owner > setting to be true. So we need to add a check for this. > > Signed-off-by: Cindy Lu <lulu@xxxxxxxxxx> Acked-by: Jason Wang <jasowang@xxxxxxxxxx> Thanks