generic/config-6.12: add new option
authorJohn Audia <[email protected]>
Fri, 15 Aug 2025 19:22:27 +0000 (15:22 -0400)
committerRobert Marko <[email protected]>
Tue, 26 Aug 2025 19:35:36 +0000 (21:35 +0200)
Add new option required to build with VHOST_MENU=y

This option enables two IOCTLs: VHOST_SET_FORK_FROM_OWNER and
VHOST_GET_FORK_FROM_OWNER. These allow userspace applications
to modify the vhost worker mode for vhost devices.

Also expose module parameter 'fork_from_owner_default' to allow users
to configure the default mode for vhost workers.

By default, `VHOST_ENABLE_FORK_OWNER_CONTROL` is set to `y`,
users can change the worker thread mode as needed.
If this config is disabled (n),the related IOCTLs and parameters will
be unavailable.

If unsure, say "Y".

Signed-off-by: John Audia <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19618
Signed-off-by: Robert Marko <[email protected]>
target/linux/generic/config-6.12

index 70139999d215f9238b8ebf2767e549a934b7efd5..261166c6c3228c18ff611086ab17ccea1fa6ef0f 100644 (file)
@@ -7349,6 +7349,7 @@ CONFIG_VDSO=y
 # CONFIG_VGA_CONSOLE is not set
 # CONFIG_VGA_SWITCHEROO is not set
 # CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set
+CONFIG_VHOST_ENABLE_FORK_OWNER_CONTROL=y
 CONFIG_VHOST_MENU=y
 # CONFIG_VHOST_NET is not set
 # CONFIG_VHOST_VSOCK is not set