From 21820217e8707aa715084b3b2c20633ec0959f1f Mon Sep 17 00:00:00 2001 From: Milan Zamazal Date: Wed, 25 Mar 2026 12:26:58 +0100 Subject: [PATCH] Enable CONFIG_DUMMY Some applications check for network availability by looking for a network device configured for Internet access. When TSI is used, there is no such device available by default, although Internet is accessible. Then those applications behave like when the connection is not available. See https://github.com/containers/libkrun/issues/576. Let's enable CONFIG_DUMMY to create a dummy network interface. Enabling the option means `dummy0' interface is created automatically in all VMs. It is down, i.e. unused, initially. libkrun can set it up if TSI is used, to make the applications happy while the device is still bypassed in favour of TSI. Proper handling of the device is libkrun's job, this commit just makes it available and present. Signed-off-by: Milan Zamazal --- config-libkrunfw-sev_x86_64 | 2 +- config-libkrunfw-tdx_x86_64 | 2 +- config-libkrunfw_aarch64 | 2 +- config-libkrunfw_riscv64 | 2 +- config-libkrunfw_x86_64 | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config-libkrunfw-sev_x86_64 b/config-libkrunfw-sev_x86_64 index baac42b..ada3cf8 100644 --- a/config-libkrunfw-sev_x86_64 +++ b/config-libkrunfw-sev_x86_64 @@ -1305,7 +1305,7 @@ CONFIG_DM_AUDIT=y CONFIG_NETDEVICES=y CONFIG_NET_CORE=y # CONFIG_BONDING is not set -# CONFIG_DUMMY is not set +CONFIG_DUMMY=y # CONFIG_WIREGUARD is not set # CONFIG_EQUALIZER is not set # CONFIG_NET_TEAM is not set diff --git a/config-libkrunfw-tdx_x86_64 b/config-libkrunfw-tdx_x86_64 index 1fbf4ba..0355264 100644 --- a/config-libkrunfw-tdx_x86_64 +++ b/config-libkrunfw-tdx_x86_64 @@ -1358,7 +1358,7 @@ CONFIG_DM_AUDIT=y CONFIG_NETDEVICES=y CONFIG_NET_CORE=y # CONFIG_BONDING is not set -# CONFIG_DUMMY is not set +CONFIG_DUMMY=y # CONFIG_WIREGUARD is not set # CONFIG_EQUALIZER is not set # CONFIG_NET_TEAM is not set diff --git a/config-libkrunfw_aarch64 b/config-libkrunfw_aarch64 index 1ed24be..2c84807 100644 --- a/config-libkrunfw_aarch64 +++ b/config-libkrunfw_aarch64 @@ -1386,7 +1386,7 @@ CONFIG_SCSI_SRP_ATTRS=y CONFIG_NETDEVICES=y CONFIG_NET_CORE=y # CONFIG_BONDING is not set -# CONFIG_DUMMY is not set +CONFIG_DUMMY=y # CONFIG_WIREGUARD is not set # CONFIG_EQUALIZER is not set # CONFIG_NET_TEAM is not set diff --git a/config-libkrunfw_riscv64 b/config-libkrunfw_riscv64 index 812b4b4..bf9a3a8 100644 --- a/config-libkrunfw_riscv64 +++ b/config-libkrunfw_riscv64 @@ -1251,7 +1251,7 @@ CONFIG_SCSI_SRP_ATTRS=y CONFIG_NETDEVICES=y CONFIG_NET_CORE=y # CONFIG_BONDING is not set -# CONFIG_DUMMY is not set +CONFIG_DUMMY=y # CONFIG_WIREGUARD is not set # CONFIG_EQUALIZER is not set # CONFIG_NET_TEAM is not set diff --git a/config-libkrunfw_x86_64 b/config-libkrunfw_x86_64 index a60781b..bfb832f 100644 --- a/config-libkrunfw_x86_64 +++ b/config-libkrunfw_x86_64 @@ -1121,7 +1121,7 @@ CONFIG_DM_AUDIT=y CONFIG_NETDEVICES=y CONFIG_NET_CORE=y # CONFIG_BONDING is not set -# CONFIG_DUMMY is not set +CONFIG_DUMMY=y # CONFIG_WIREGUARD is not set # CONFIG_EQUALIZER is not set # CONFIG_NET_TEAM is not set