princeton-sns / firecracker-tools

5 stars 5 forks source link

vsock connection failed without any panic or error msg #12

Open LedgeDash opened 5 years ago

LedgeDash commented 5 years ago

When vsock connection fails, VM boot proceeds without any panic or error msg.

[davidliu@sns59] sudo ./target/debug/firerunner --kernel ../images/vmlinux --rootfs ../images/node-base-console.ext4
Welcome to Alpine Linux 3.9
Kernel 4.14.55-84.37.amzn2.x86_64 on an x86_64 (ttyS0)
(none) login: root (automatic login)
Welcome to Alpine!
The Alpine Wiki contains a large amount of how-to guides and general
information about administrating Alpine systems.
See <http://wiki.alpinelinux.org/>.
You can setup the system with the command: setup-alpine
You may change this message by editing /etc/motd.
(none):~#

Checking with nc-vsock 0 1234 within the VM (when running a rootfs with console enabled) results in Connection timeout.