Skip to content
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

Add vsock cli param #8

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Add vsock cli param #8

merged 1 commit into from
Nov 15, 2022

Commits on Nov 14, 2022

  1. Add vsock cli param

    Using an extra CLI parameter, we are able to specify a unix socket
    to be used as a VSOCK endpoint for Guest-to-Host communication.
    
    For now, the argument is just the socket path, with a hardcoded
    Guest ID. The default value is empty so that the VSOCK endpoint
    is not added by default.
    
    Example invocation:
    
    ./dbs-cli --kernel-path ./vmlinux \
    	  --rootfs ./rootfs.img \
    	  --boot-args 'console=ttyS0 tty0 pci=off root=/dev/vda' \
    	  --vsock vsock.sock
    
    Signed-off-by: Anastassios Nanos <ananos@nubificus.co.uk>
    ananos committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    bcad0b0 View commit details
    Browse the repository at this point in the history