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
I'd like to set up vsock server in the host accepting every connection which is acting likesvm_cid=VMADDR_CID_HOST. But for now, it needs to bind to uds-path from specific cid. Is there any way to do that for now? or we need to set up multiple sockets for each?
The text was updated successfully, but these errors were encountered:
yeah, this is a limitation of firecracker's hybrid vsock approach that we are currently using here.
So, with the current implementation we don't have any easy way, but I have something in mind that I want to implement that will allow your use case.
Essentially I want to extend AF_VSOCK, to support SOCK_RAW and allow vhost-device-vsock to enqueue packets in the host vsock stack. This way we can finally remove the Unix socket and applications in the host can use AF_VSOCK as with vhost-vsock. At this point your use case is trivial, just listen on AF_VSOCK(CID_HOST, port) and you'll get connections from any guests.
I'd like to set up vsock server in the host accepting every connection which is acting like
svm_cid=VMADDR_CID_HOST
. But for now, it needs to bind to uds-path from specific cid. Is there any way to do that for now? or we need to set up multiple sockets for each?The text was updated successfully, but these errors were encountered: