-
-
Notifications
You must be signed in to change notification settings - Fork 162
feat: add support for vsock connections #623
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
Conversation
Hey! This looks good in general. Would you mind adding a bit more background and justification to your PR message (that will go into the commit history). Basically because I didn't know what a vsock was until today, so I figure the reference would be worthwhile. 😅 |
@hds done :) |
Friendly ping :) |
@domenkozar Thanks for the ping. I've just had another look through the PR, however don't we need to add vsock support into tokio-console as well? Otherwise this feels like only half the feature. |
@hds something like this? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just a few small things regarding error handling (mostly in the case where the new feature isn't enabled).
PTAL :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just a couple of CI checks that are failing. Thanks for all your work on this PR!
This allows connecting to VSOCK address family, which is used in VMs: https://man7.org/linux/man-pages/man7/vsock.7.html
@domenkozar Merged! Thanks for your contribution! I hope to get a release of the crates out in the next week. There are just a few little changes that we'd like to make first. |
I've hidden it behind a feature flag, since it's kind of uncommon.