We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to https://projectacrn.github.io/3.0/developer-guides/hld/virtio-net.html, we may need to pass tap=tap0_kata for macvtap but currently it just pass like virtio-net ,tap0-kata,mac=**** which is not recognized by acrn.
patch:
diff --git a/src/runtime/virtcontainers/acrn_arch_base.go b/src/runtime/virtcontainers/acrn_arch_base.go index fa8ce0fe6..278c76045 100644 --- a/src/runtime/virtcontainers/acrn_arch_base.go +++ b/src/runtime/virtcontainers/acrn_arch_base.go @@ -426,7 +426,7 @@ func (netdev NetDevice) AcrnNetdevParam() []string { deviceParams = append(deviceParams, netdev.IFName) deviceParams = append(deviceParams, fmt.Sprintf(",mac=%s", netdev.MACAddress)) case MACVTAP:
deviceParams = append(deviceParams, netdev.IFName)
deviceParams = append(deviceParams, fmt.Sprintf("tap=%s", netdev.IFName)) deviceParams = append(deviceParams, fmt.Sprintf(",mac=%s", netdev.MACAddress)) default: deviceParams = append(deviceParams, netdev.IFName)
The text was updated successfully, but these errors were encountered:
Sorry , submit wrong place for the issue. I already filed new one on kata-containers repo
Sorry, something went wrong.
No branches or pull requests
According to https://projectacrn.github.io/3.0/developer-guides/hld/virtio-net.html, we may need to pass tap=tap0_kata for macvtap but currently it just pass like virtio-net ,tap0-kata,mac=**** which is not recognized by acrn.
patch:
diff --git a/src/runtime/virtcontainers/acrn_arch_base.go b/src/runtime/virtcontainers/acrn_arch_base.go
index fa8ce0fe6..278c76045 100644
--- a/src/runtime/virtcontainers/acrn_arch_base.go
+++ b/src/runtime/virtcontainers/acrn_arch_base.go
@@ -426,7 +426,7 @@ func (netdev NetDevice) AcrnNetdevParam() []string {
deviceParams = append(deviceParams, netdev.IFName)
deviceParams = append(deviceParams, fmt.Sprintf(",mac=%s", netdev.MACAddress))
case MACVTAP:
The text was updated successfully, but these errors were encountered: