-
Notifications
You must be signed in to change notification settings - Fork 28
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
refactor(vsock): call proxy.Close when vm stop #74
Conversation
Hi @BlackHole1. Thanks for your PR. I'm waiting for a crc-org member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
9a07b63
to
b6f6404
Compare
/ok-to-test |
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.
Can you share more details about the code base you are using this in? pkg/vf
is mostly internal to vfkit
, so I'm both surprised and curious to see there are external users of it :) (but that's a good thing!)
b6f6404
to
e2478a0
Compare
Here: https://github.com/oomol-lab/ovm/blob/main/pkg/vfkit/vfkit.go In our product, we need to initiate containers doing some work, and in order to prevent users from manually installing
Following these requirements, we generated a minimum Linux image ovm-core (around 100M) that can run podman, then run gvproxy and vfkit via ovm-js. However, in the course of development, we found out that it’s incredibly inconvenient to manage gvproxy and vfkit processes uniformly through ovm-js, because:
So considering this, I created the ovm project integrating vfkit and gvproxy code, which can address the above-mentioned issues. The project is currently under development, so there is no Finally, I’d like to extend my gratitude to you, your team and RedHat for creating vfkit/podman/gvproxy. Without you guys, our product wouldn’t be possible. The ovm code will all be open source. Ultimately, we plan to roll out a product similar to orbstack (free and open-source), and use podman as a built-in container management program instead of docker. At present, we’re preparing to sponsor Code-Hex, the writer of vz (expected next month as our company is dealing with bank card-related issues). |
For what it's worth, merging This is #24 |
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.
One more comment regarding the closes
list which would simplify the code if it works for you.
I also wanted to ask, regarding the Signed-off-by
, can you use your real name in it? I don't think pseudonyms works for that.
Apart from this, this looks good to me!
When other projects use the `vf.ExposeVsock` method, there will be unexpected issues due to the absence of a close proxy. Signed-off-by: Kevin Cui <[email protected]>
e2478a0
to
5093ea3
Compare
Done |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cfergeau The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
When other projects use the
vf.ExposeVsock
method, there will be unexpected issues due to the absence of a close proxy.