-
Notifications
You must be signed in to change notification settings - Fork 608
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
support socket_vmnet for vz driver #1279
Conversation
Performance Results (Shared network)
|
Performance Results (Bridge network)
|
pkg/vz/pipe.go
Outdated
|
||
// PipeToQemuConn support connecting to QEMU supported network stack via unix socket | ||
// Returns os.File, connected dgram connection to be used for vz | ||
func PipeToQemuConn(unixSock string) (*os.File, error) { |
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.
Doesn't seem a "pipe".
Maybe we can just call it DialQemu
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.
Done
Thanks, the overhead doesn't seem bad 👍 Could you also update the docs? |
Updated the docs.
I believe technically we are doing the same thing like QEMU. |
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.
Thanks
Signed-off-by: Balaji Vijayakumar <[email protected]>
@AkihiroSuda - I am not getting this pipeline issue locally. EDIT: Looks like it ran fine now in CI. |
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.
Thanks
If I understand this correctly, with this PR the VZ driver can use either of socket_vmnet or vzNAT. Right? |
@abiosoft |
The support for socket_vmnet is provided as mentioned over here
lima-vm/socket_vmnet#13 (comment)
Note:
This is done so that we can easily support QEMU based network stack in vz as well. This might have a reduced performance due to pipe of dgram <-> unix socket connection