diff --git a/cli/config/configuration-fc.toml.in b/cli/config/configuration-fc.toml.in index 446db958b0..4b4651e37c 100644 --- a/cli/config/configuration-fc.toml.in +++ b/cli/config/configuration-fc.toml.in @@ -160,9 +160,6 @@ use_vsock = true # Default false #hotplug_vfio_on_root_bus = true -# If host doesn't support vhost_net, set to true. Thus we won't create vhost fds for nics. -# Default false -#disable_vhost_net = true # # Default entropy source. # The path to a host source of entropy (including a real hardware RNG) diff --git a/pkg/katautils/config.go b/pkg/katautils/config.go index 51d2ceba4b..386f9df5a8 100644 --- a/pkg/katautils/config.go +++ b/pkg/katautils/config.go @@ -533,6 +533,7 @@ func newFirecrackerHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) { DisableNestingChecks: h.DisableNestingChecks, BlockDeviceDriver: blockDriver, EnableIOThreads: h.EnableIOThreads, + DisableVhostNet: true, // vhost-net backend is not supported in Firecracker UseVSock: true, GuestHookPath: h.guestHookPath(), }, nil