-
Notifications
You must be signed in to change notification settings - Fork 16
vsock: switch to krun_add_vsock_port2 for listen mode support #87
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
base: main
Are you sure you want to change the base?
Conversation
5ff9532 to
ec1efd6
Compare
jakecorrenti
left a comment
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.
LGTM, thanks @vyasgun !
|
@jakecorrenti thanks for the review! I realised this PR inadvertently makes |
bd097c6 to
0f7a6ab
Compare
Thanks for the follow up. I'll get around to re-reviewing and testing it tomorrow |
tylerfanelli
left a comment
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.
LGTM, thanks!
|
I'm having a little difficulty grokking this. Is the notion of what |
Use krun_add_vsock_port2() which accepts a listen parameter, enabling host-initiated vsock connections when listen=true (set in connect mode). Signed-off-by: Gunjan Vyas <vyasgun20@gmail.com>
|
Yes, you are correct. The
This handles the inverted flag meaning between vfkit and libkrun. |
0f7a6ab to
3f96155
Compare
|
Code seems fine but I'd like it if @slp took a look at this as well. |
Use krun_add_vsock_port2() which accepts a listen parameter, enabling host-initiated vsock connections when listen=true.
Add support for 'connect' mode as default
Related issue: #79