[openwrt/openwrt] generic/config-6.12: add new option

LEDE Commits lede-commits at lists.infradead.org
Tue Aug 26 12:35:43 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c6d8f2267c218938100271d2f2aba019a2dfbde9

commit c6d8f2267c218938100271d2f2aba019a2dfbde9
Author: John Audia <therealgraysky at proton.me>
AuthorDate: Fri Aug 15 15:22:27 2025 -0400

    generic/config-6.12: add new option
    
    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 <therealgraysky at proton.me>
    Link: https://github.com/openwrt/openwrt/pull/19618
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/generic/config-6.12 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/generic/config-6.12 b/target/linux/generic/config-6.12
index 70139999d2..261166c6c3 100644
--- a/target/linux/generic/config-6.12
+++ b/target/linux/generic/config-6.12
@@ -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




More information about the lede-commits mailing list