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

Commit

Permalink
acrn: Change the default network model for ACRN to macvtap
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
amshinde committed Aug 9, 2019
1 parent 2c99b95 commit 565f14f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions virtcontainers/acrn_arch_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 565f14f

Please sign in to comment.