You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably, CLI will be like socket_vmnet unix:///var/run/socket_vmnet unixgram://var/run/socket_vmnet.unixgram to cover both QEMU socket and VZ socket in a single process (so as to avoid complicating the sudoers file too much)
The text was updated successfully, but these errors were encountered:
@AkihiroSuda - I did some progress on this, on working had a thought about one other way,
What if we write a Pipe mechanism to translate vz packets to qemu like packets ?? If we do this, we don't need any changes in socket_vmnet / gvisor. Any network that support qemu should be supported here as well.
translate vz packets to qemu like packets
Thought of doing the following,
Dial to a unix sock and get conn
create sock pair for dgram
read from dgram and write to unix sock with header
read from unix sock and write to dgram without header
One con i could see might drop a bit in performance due to this pipe mechanism but sure it should not be high. Please put down your thoughts on this. If this is good, i can provide this support rather than socket_vmnet changes
Virtualization.framework
provides built-in support forvmnet.framework
(without root, for the NAT (shared) mode).However, it has some drawbacks compared to
socket_vmnet
:VZNATNetworkDeviceAttachment
doesn't support custom IP rangeVZBridgedNetworkDeviceAttachment
requires the com.apple.vm.networking entitlement, which requires contacting to an Apple representative.So, it still makes sense to support
socket_vmnet
for VZ.VZFileHandleNetworkDeviceAttachment
can be used for this, but its protocol is incompatible with QEMU. (DGRAM sock, without the uint32be length header)Context:
Probably, CLI will be like
socket_vmnet unix:///var/run/socket_vmnet unixgram://var/run/socket_vmnet.unixgram
to cover both QEMU socket and VZ socket in a single process (so as to avoid complicating the sudoers file too much)The text was updated successfully, but these errors were encountered: