Closed schaefi closed 1 year ago
@m-kat this is code I had created prior you taking over issue #87 The code here only adds the creation of the vsock per instance and not more. I found that firecracker does not cleanup the socket file on the host when the instance terminates. So firecracker-pilot needs to this. Other than that if you register /bin/bash
as a flake you can test the socket communication with this patch as follows:
In the guest shell
socat VSOCK-LISTEN:42,fork -
On the host
socat - UNIX-CONNECT:/run/sci_cmd_24965.sock
CONNECT 42
So some tasks are still open
@m-kat feel free to merge this when starting your implementation
This commit adds the init code to create a vsock per instance. This is related to Issue #87