Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-05-19 Thread Jason Wang
On Fri, May 16, 2025 at 6:39 PM Michael S. Tsirkin wrote: > > On Fri, May 16, 2025 at 09:31:42AM +0800, Jason Wang wrote: > > On Thu, May 15, 2025 at 2:14 PM Michael S. Tsirkin wrote: > > > > > > On Wed, May 14, 2025 at 10:52:58AM +0800, Jason Wang wrote: > > > > On Tue, May 13, 2025 at 3:09 PM M

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-05-16 Thread Michael S. Tsirkin
On Fri, May 16, 2025 at 09:31:42AM +0800, Jason Wang wrote: > On Thu, May 15, 2025 at 2:14 PM Michael S. Tsirkin wrote: > > > > On Wed, May 14, 2025 at 10:52:58AM +0800, Jason Wang wrote: > > > On Tue, May 13, 2025 at 3:09 PM Michael S. Tsirkin > > > wrote: > > > > > > > > On Tue, May 13, 2025 a

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-05-15 Thread Jason Wang
On Thu, May 15, 2025 at 2:14 PM Michael S. Tsirkin wrote: > > On Wed, May 14, 2025 at 10:52:58AM +0800, Jason Wang wrote: > > On Tue, May 13, 2025 at 3:09 PM Michael S. Tsirkin wrote: > > > > > > On Tue, May 13, 2025 at 12:08:51PM +0800, Jason Wang wrote: > > > > On Wed, Apr 30, 2025 at 5:27 PM M

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-05-14 Thread Michael S. Tsirkin
On Wed, May 14, 2025 at 10:52:58AM +0800, Jason Wang wrote: > On Tue, May 13, 2025 at 3:09 PM Michael S. Tsirkin wrote: > > > > On Tue, May 13, 2025 at 12:08:51PM +0800, Jason Wang wrote: > > > On Wed, Apr 30, 2025 at 5:27 PM Michael S. Tsirkin > > > wrote: > > > > > > > > On Wed, Apr 30, 2025 a

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-05-14 Thread Cindy Lu
Thank you for the comments; I will prepare a new patch version. Thanks, Cindy On Wed, May 14, 2025 at 10:53 AM Jason Wang wrote: > > On Tue, May 13, 2025 at 3:09 PM Michael S. Tsirkin wrote: > > > > On Tue, May 13, 2025 at 12:08:51PM +0800, Jason Wang wrote: > > > On Wed, Apr 30, 2025 at 5:27 

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-05-13 Thread Jason Wang
On Tue, May 13, 2025 at 3:09 PM Michael S. Tsirkin wrote: > > On Tue, May 13, 2025 at 12:08:51PM +0800, Jason Wang wrote: > > On Wed, Apr 30, 2025 at 5:27 PM Michael S. Tsirkin wrote: > > > > > > On Wed, Apr 30, 2025 at 11:34:49AM +0800, Jason Wang wrote: > > > > On Tue, Apr 29, 2025 at 6:56 PM M

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-05-13 Thread Michael S. Tsirkin
On Tue, May 13, 2025 at 12:08:51PM +0800, Jason Wang wrote: > On Wed, Apr 30, 2025 at 5:27 PM Michael S. Tsirkin wrote: > > > > On Wed, Apr 30, 2025 at 11:34:49AM +0800, Jason Wang wrote: > > > On Tue, Apr 29, 2025 at 6:56 PM Michael S. Tsirkin > > > wrote: > > > > > > > > On Tue, Apr 29, 2025 a

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-05-12 Thread Jason Wang
On Wed, Apr 30, 2025 at 5:27 PM Michael S. Tsirkin wrote: > > On Wed, Apr 30, 2025 at 11:34:49AM +0800, Jason Wang wrote: > > On Tue, Apr 29, 2025 at 6:56 PM Michael S. Tsirkin wrote: > > > > > > On Tue, Apr 29, 2025 at 11:39:37AM +0800, Jason Wang wrote: > > > > On Mon, Apr 21, 2025 at 11:46 AM

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-04-30 Thread Michael S. Tsirkin
On Wed, Apr 30, 2025 at 11:34:49AM +0800, Jason Wang wrote: > On Tue, Apr 29, 2025 at 6:56 PM Michael S. Tsirkin wrote: > > > > On Tue, Apr 29, 2025 at 11:39:37AM +0800, Jason Wang wrote: > > > On Mon, Apr 21, 2025 at 11:46 AM Jason Wang wrote: > > > > > > > > On Mon, Apr 21, 2025 at 11:45 AM Jas

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-04-29 Thread Jason Wang
On Tue, Apr 29, 2025 at 6:56 PM Michael S. Tsirkin wrote: > > On Tue, Apr 29, 2025 at 11:39:37AM +0800, Jason Wang wrote: > > On Mon, Apr 21, 2025 at 11:46 AM Jason Wang wrote: > > > > > > On Mon, Apr 21, 2025 at 11:45 AM Jason Wang wrote: > > > > > > > > On Mon, Apr 21, 2025 at 10:45 AM Cindy L

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-04-29 Thread Michael S. Tsirkin
On Tue, Apr 29, 2025 at 11:39:37AM +0800, Jason Wang wrote: > On Mon, Apr 21, 2025 at 11:46 AM Jason Wang wrote: > > > > On Mon, Apr 21, 2025 at 11:45 AM Jason Wang wrote: > > > > > > On Mon, Apr 21, 2025 at 10:45 AM Cindy Lu wrote: > > > > > > > > Introduce a new config knob `CONFIG_VHOST_ENABL

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-04-28 Thread Jason Wang
On Mon, Apr 21, 2025 at 11:46 AM Jason Wang wrote: > > On Mon, Apr 21, 2025 at 11:45 AM Jason Wang wrote: > > > > On Mon, Apr 21, 2025 at 10:45 AM Cindy Lu wrote: > > > > > > Introduce a new config knob `CONFIG_VHOST_ENABLE_FORK_OWNER_IOCTL`, > > > to control the availability of the `VHOST_FORK_

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-04-22 Thread Cindy Lu
On Tue, Apr 22, 2025 at 9:50 PM Stefano Garzarella wrote: > > On Mon, Apr 21, 2025 at 10:44:10AM +0800, Cindy Lu wrote: > >Introduce a new config knob `CONFIG_VHOST_ENABLE_FORK_OWNER_IOCTL`, > >to control the availability of the `VHOST_FORK_FROM_OWNER` ioctl. > >When CONFIG_VHOST_ENABLE_FORK_OWNER

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-04-22 Thread Stefano Garzarella
On Mon, Apr 21, 2025 at 10:44:10AM +0800, Cindy Lu wrote: Introduce a new config knob `CONFIG_VHOST_ENABLE_FORK_OWNER_IOCTL`, to control the availability of the `VHOST_FORK_FROM_OWNER` ioctl. When CONFIG_VHOST_ENABLE_FORK_OWNER_IOCTL is set to n, the ioctl is disabled, and any attempt to use it w

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-04-20 Thread Jason Wang
On Mon, Apr 21, 2025 at 11:45 AM Jason Wang wrote: > > On Mon, Apr 21, 2025 at 10:45 AM Cindy Lu wrote: > > > > Introduce a new config knob `CONFIG_VHOST_ENABLE_FORK_OWNER_IOCTL`, > > to control the availability of the `VHOST_FORK_FROM_OWNER` ioctl. > > When CONFIG_VHOST_ENABLE_FORK_OWNER_IOCTL i

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-04-20 Thread Jason Wang
On Mon, Apr 21, 2025 at 10:45 AM Cindy Lu wrote: > > Introduce a new config knob `CONFIG_VHOST_ENABLE_FORK_OWNER_IOCTL`, > to control the availability of the `VHOST_FORK_FROM_OWNER` ioctl. > When CONFIG_VHOST_ENABLE_FORK_OWNER_IOCTL is set to n, the ioctl > is disabled, and any attempt to use it w

[PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-04-20 Thread Cindy Lu
Introduce a new config knob `CONFIG_VHOST_ENABLE_FORK_OWNER_IOCTL`, to control the availability of the `VHOST_FORK_FROM_OWNER` ioctl. When CONFIG_VHOST_ENABLE_FORK_OWNER_IOCTL is set to n, the ioctl is disabled, and any attempt to use it will result in failure. Signed-off-by: Cindy Lu --- driver