mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-13 07:04:58 +00:00
Merge pull request #1502 from amshinde/make-tc-default
network: Make tcfilter model as default
This commit is contained in:
commit
edc77a0263
2
Makefile
2
Makefile
@ -210,7 +210,7 @@ ifneq (,$(QEMUCMD))
|
|||||||
|
|
||||||
# qemu-specific options (all should be suffixed by "_QEMU")
|
# qemu-specific options (all should be suffixed by "_QEMU")
|
||||||
DEFBLOCKSTORAGEDRIVER_QEMU := virtio-scsi
|
DEFBLOCKSTORAGEDRIVER_QEMU := virtio-scsi
|
||||||
DEFNETWORKMODEL_QEMU := macvtap
|
DEFNETWORKMODEL_QEMU := tcfilter
|
||||||
KERNELNAME_QEMU = $(call MAKE_KERNEL_NAME,$(KERNELTYPE))
|
KERNELNAME_QEMU = $(call MAKE_KERNEL_NAME,$(KERNELTYPE))
|
||||||
KERNELPATH_QEMU = $(KERNELDIR)/$(KERNELNAME_QEMU)
|
KERNELPATH_QEMU = $(KERNELDIR)/$(KERNELNAME_QEMU)
|
||||||
endif
|
endif
|
||||||
|
@ -112,7 +112,7 @@ func (n *NetInterworkingModel) SetModel(modelName string) error {
|
|||||||
// DefaultNetInterworkingModel is a package level default
|
// DefaultNetInterworkingModel is a package level default
|
||||||
// that determines how the VM should be connected to the
|
// that determines how the VM should be connected to the
|
||||||
// the container network interface
|
// the container network interface
|
||||||
var DefaultNetInterworkingModel = NetXConnectMacVtapModel
|
var DefaultNetInterworkingModel = NetXConnectTCFilterModel
|
||||||
|
|
||||||
// Introduces constants related to networking
|
// Introduces constants related to networking
|
||||||
const (
|
const (
|
||||||
|
Loading…
Reference in New Issue
Block a user