Describe the bug
The well known address (CID) for contacting the host from inside the VM is VMADDR_CID_HOST (2). Currently, the plugin has this hardcoded to 1 and we need to set the environment variable in order to get everything working.
Working environment
All possible setups
To Reproduce
Steps to reproduce the behavior:
Launch a Firecracker VM with a vAccel rootfs using a config that enables vsock
Launch an agent on the host listening to the correct Unix socket.
set export VACCEL_BACKENDS=/opt/vaccel/lib/libvaccel-vsock.so
Run any vAccel application
Execution will fail because the application will not be able to communicate with the host
Expected behavior
Communication with host should succeed
Describe the bug The well known address (CID) for contacting the host from inside the VM is
VMADDR_CID_HOST (2)
. Currently, the plugin has this hardcoded to1
and we need to set the environment variable in order to get everything working.Working environment All possible setups
To Reproduce Steps to reproduce the behavior:
export VACCEL_BACKENDS=/opt/vaccel/lib/libvaccel-vsock.so
Execution will fail because the application will not be able to communicate with the host
Expected behavior Communication with host should succeed