Skip to content
New issue

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

virtio/net: implement gvproxy backend #169

Merged
merged 2 commits into from
Feb 15, 2024
Merged

virtio/net: implement gvproxy backend #169

merged 2 commits into from
Feb 15, 2024

Conversation

slp
Copy link
Contributor

@slp slp commented Feb 14, 2024

Implement a backend in virtio-net compatible with the "-listen-vfkit" mode in gvproxy. In this mode, the transport operates at L2 without adding any headers, and the UNIX socket between libkrun and gvproxy operates in DGRAM mode.

@slp
Copy link
Contributor Author

slp commented Feb 15, 2024

@mtjhrc could you please take a look at the refactor?

slp added 2 commits February 15, 2024 10:49
Refactor the code abstracting the calls to passt behind a trait so we
can implement other backends, such as gvproxy.

Signed-off-by: Sergio Lopez <[email protected]>
Implement a backend in virtio-net compatible with the "-listen-vfkit"
mode in gvproxy. In this mode, the transport operates at L2 without
adding any headers, and the UNIX socket between libkrun and gvproxy
operates in DGRAM mode.

Signed-off-by: Sergio Lopez <[email protected]>
@slp slp force-pushed the virtio-net-gvproxy branch from d1590df to 1c8e8bf Compare February 15, 2024 09:51
@slp slp merged commit 9427888 into main Feb 15, 2024
5 checks passed
@slp slp deleted the virtio-net-gvproxy branch February 15, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant