mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 16:57:18 +00:00
acrn: Change the default network model for ACRN to macvtap
Drop the bits for bridged networking in ACRN and change the default to macvtap. We should eventually change this to tcfilter with additional testing. Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
This commit is contained in:
parent
2c99b95c53
commit
565f14f685
2
Makefile
2
Makefile
@ -300,7 +300,7 @@ ifneq (,$(ACRNCMD))
|
||||
|
||||
# acrn-specific options (all should be suffixed by "_ACRN")
|
||||
DEFBLOCKSTORAGEDRIVER_ACRN := virtio-blk
|
||||
DEFNETWORKMODEL_ACRN := bridged
|
||||
DEFNETWORKMODEL_ACRN := macvtap
|
||||
KERNEL_NAME_ACRN = $(call MAKE_KERNEL_NAME,$(KERNELTYPE))
|
||||
KERNELPATH_ACRN = $(KERNELDIR)/$(KERNEL_NAME_ACRN)
|
||||
endif
|
||||
|
@ -711,8 +711,6 @@ func (a *acrnArchBase) appendSocket(devices []Device, socket types.Socket) []Dev
|
||||
|
||||
func networkModelToAcrnType(model NetInterworkingModel) NetDeviceType {
|
||||
switch model {
|
||||
case NetXConnectBridgedModel:
|
||||
return TAP
|
||||
case NetXConnectMacVtapModel:
|
||||
return MACVTAP
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user