aurae-runtime / aurae

Distributed systems runtime daemon written in Rust.
https://aurae.io
Apache License 2.0
1.85k stars 91 forks source link

VM service #451

Closed JeroenSoeters closed 1 year ago

JeroenSoeters commented 1 year ago

Just putting this out here so folks can follow the progress as well as play around with the bits which can be helpful for coming up with input for the many open issues we have around this topic! :smile:

:point_right: https://github.com/aurae-runtime/aurae/issues/439

To manually run the VM run the following commands:

sudo make /opt/aurae/cloud-hypervisor/cloud-hypervisor
sudo make build-guest-kernel
sudo make prepare-image
/opt/aurae/cloud-hypervisor/cloud-hypervisor \                                                                                                                                 ✔ 
--kernel /var/lib/aurae/vm/kernel/vmlinux.bin \
--disk path=/var/lib/aurae/vm/image/disk.raw \
--cmdline "console=hvc0 root=/dev/vda1 rw" \
--cpus boot=4 \
--memory size=1024M \
--net "tap=tap0,mac=aa:ae:00:00:00:01,id=eth0"