Skip to content

Commit 2182021

Browse files
committed
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 containers/libkrun#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 <mzamazal@redhat.com>
1 parent 463f717 commit 2182021

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

config-libkrunfw-sev_x86_64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ CONFIG_DM_AUDIT=y
13051305
CONFIG_NETDEVICES=y
13061306
CONFIG_NET_CORE=y
13071307
# CONFIG_BONDING is not set
1308-
# CONFIG_DUMMY is not set
1308+
CONFIG_DUMMY=y
13091309
# CONFIG_WIREGUARD is not set
13101310
# CONFIG_EQUALIZER is not set
13111311
# CONFIG_NET_TEAM is not set

config-libkrunfw-tdx_x86_64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ CONFIG_DM_AUDIT=y
13581358
CONFIG_NETDEVICES=y
13591359
CONFIG_NET_CORE=y
13601360
# CONFIG_BONDING is not set
1361-
# CONFIG_DUMMY is not set
1361+
CONFIG_DUMMY=y
13621362
# CONFIG_WIREGUARD is not set
13631363
# CONFIG_EQUALIZER is not set
13641364
# CONFIG_NET_TEAM is not set

config-libkrunfw_aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ CONFIG_SCSI_SRP_ATTRS=y
13861386
CONFIG_NETDEVICES=y
13871387
CONFIG_NET_CORE=y
13881388
# CONFIG_BONDING is not set
1389-
# CONFIG_DUMMY is not set
1389+
CONFIG_DUMMY=y
13901390
# CONFIG_WIREGUARD is not set
13911391
# CONFIG_EQUALIZER is not set
13921392
# CONFIG_NET_TEAM is not set

config-libkrunfw_riscv64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ CONFIG_SCSI_SRP_ATTRS=y
12511251
CONFIG_NETDEVICES=y
12521252
CONFIG_NET_CORE=y
12531253
# CONFIG_BONDING is not set
1254-
# CONFIG_DUMMY is not set
1254+
CONFIG_DUMMY=y
12551255
# CONFIG_WIREGUARD is not set
12561256
# CONFIG_EQUALIZER is not set
12571257
# CONFIG_NET_TEAM is not set

config-libkrunfw_x86_64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ CONFIG_DM_AUDIT=y
11211121
CONFIG_NETDEVICES=y
11221122
CONFIG_NET_CORE=y
11231123
# CONFIG_BONDING is not set
1124-
# CONFIG_DUMMY is not set
1124+
CONFIG_DUMMY=y
11251125
# CONFIG_WIREGUARD is not set
11261126
# CONFIG_EQUALIZER is not set
11271127
# CONFIG_NET_TEAM is not set

0 commit comments

Comments
 (0)