Merge pull request #1502 from amshinde/make-tc-default

network: Make tcfilter model as default
This commit is contained in:
Archana Shinde
2019-04-15 11:34:07 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -210,7 +210,7 @@ ifneq (,$(QEMUCMD))
# qemu-specific options (all should be suffixed by "_QEMU")
DEFBLOCKSTORAGEDRIVER_QEMU := virtio-scsi
DEFNETWORKMODEL_QEMU := macvtap
DEFNETWORKMODEL_QEMU := tcfilter
KERNELNAME_QEMU = $(call MAKE_KERNEL_NAME,$(KERNELTYPE))
KERNELPATH_QEMU = $(KERNELDIR)/$(KERNELNAME_QEMU)
endif

View File

@@ -112,7 +112,7 @@ func (n *NetInterworkingModel) SetModel(modelName string) error {
// DefaultNetInterworkingModel is a package level default
// that determines how the VM should be connected to the
// the container network interface
var DefaultNetInterworkingModel = NetXConnectMacVtapModel
var DefaultNetInterworkingModel = NetXConnectTCFilterModel
// Introduces constants related to networking
const (