Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2194 from egernst/fixup-vhost-fc
Browse files Browse the repository at this point in the history
fc: config: vhost-net not supported
  • Loading branch information
GabyCT authored Nov 14, 2019
2 parents f2bbcf4 + 519eff7 commit 35f54fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions cli/config/configuration-fc.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions pkg/katautils/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35f54fd

Please sign in to comment.