Merge pull request #2194 from egernst/fixup-vhost-fc

fc: config: vhost-net not supported
This commit is contained in:
GabyCT
2019-11-14 14:22:09 -06:00
committed by GitHub
2 changed files with 1 additions and 3 deletions

View File

@@ -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)

View File

@@ -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